My XML looks like this:
<A name"alpha">
<B id="0">zero</B>
<B id="1">one</B>
</A>
What I want to output is this:
alpha:zero
alpha:one
If I use some XSL to style this...
<xsl:for-each select="A\B">
<xsl:value-of select="???" />:<xsl:value-of select="." />
</xsl:for-each>
...what do I use in ??? to select the parent attribute @name? What if B has an attribute @name too? Are there any other ways to do this that you can think of?
*had to disable similies :P
[This message has been edited by Dave Flynn (edited May 09, 2001).]