Given the xml:
<element>text</element>
...
<element>text</element>
And xsl:
<xsl:for-each select="element">
...
</xsl:for-each>
What do I need to put inside the for-each loop to access the text? There doesn't seem to be a corresponding xsl:value-of
because select=""
, select="/"
, and select="element"
are all wrong.
<xsl:value-of select="."/>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With