[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: about xsl:when
> I try that display the names that have the 'id=1' and 'id=2' > in the resutl, > but doesen't work. In the XML file, each 'persona' node have > a 'id' with > numeric value. This is the xsl code: > > <xsl:template match = "persona[@id]" > > <xsl:choose > > <xsl:when test = ".='1'" > <br/> You current node is the persona element, not the @id attribute. Try <xsl:when test="@id='1'"> Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|