|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] multiple child elements
hi all, i'm using IE5 and have the following snippet of an XML file <kitlist> <synth> <links> <url name="korg.com">http://www.korg.com</url> <url name="lfo4.com">http://www.lfo4.com</url> </links> </synth> </kitlist> when i apply the following XSL it only lists the first child element in the XML file. <xsl:for-each select="kitlist/synth"> <a target="_blank"> <xsl:attribute name="href"> <xsl:value-of select="links/url"/> </xsl:attribute> <xsl:value-of select="links/url/@name"/> </a> </xsl:for-each> how do i display all the child elements from the XML file without having to give each child a unique tag name? cheers, sean 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
|

Cart








