Subject: [xsl] multiple child elements From: "Sean Kelly" <sean@xxxxxxxxxxxxxxxxxx> Date: Sun, 9 Sep 2001 10:36:47 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Re: Reference to functions (W, Jim Melton | Thread | Re: [xsl] multiple child elements, Jeni Tennison |
[xsl] Re: Reference to functions (W, Dimitre Novatchev | Date | Re: XPath 2.0: Collection-Valued Ex, Jeni Tennison |
Month |