maizey
12-15-2004, 09:27 AM
I have the following XML document (shorterned):
<specials>
<cd>Kind of Blue
<artist>Miles Davis</artist>
<price>$11.99</price>
<track length="9:22">So What</track>
</cd>
</specials>
At the moment, in my XSLT file, I am referencing the elements simply using:
<xsl:value-of select="artist" />
However, this won't work for the element 'cd'. How do I display the element CD in my XSLT?
Would appreciate any help, thanks.
<specials>
<cd>Kind of Blue
<artist>Miles Davis</artist>
<price>$11.99</price>
<track length="9:22">So What</track>
</cd>
</specials>
At the moment, in my XSLT file, I am referencing the elements simply using:
<xsl:value-of select="artist" />
However, this won't work for the element 'cd'. How do I display the element CD in my XSLT?
Would appreciate any help, thanks.