SmileeTiger
Programmer
This is a really simple question:
I have an xml file:
<data>
<foo>xxx</foo>
<bar>yyy</bar>
</data>
How can I get the values foo and bar to print using an xslt.
I assume it's something like:
<xsl:for-each select="/data/*">
xxRule Title: <xsl:value-of select="SOMETHING"/><br/>
</xsl:for-each>
But I can't figure out what xpath experssion to write.
Any ideas?
I have an xml file:
<data>
<foo>xxx</foo>
<bar>yyy</bar>
</data>
How can I get the values foo and bar to print using an xslt.
I assume it's something like:
<xsl:for-each select="/data/*">
xxRule Title: <xsl:value-of select="SOMETHING"/><br/>
</xsl:for-each>
But I can't figure out what xpath experssion to write.
Any ideas?