Mike Kamermans
Usenet Archive
- Joined
- Aug 10, 2004
- Messages
- 14
- Reaction score
- 0
Is there a way to determine what a node find returns? For instance, if I have a snip of XSLT that looks like:
<xsl:for-each select="node">
...
</xsl:for-each>
Is there a way to, for each node found, generate what kind of node it found, like <some_element> or <#PCDATA> or something that indicates the type of element it found?
(sort of like an <xsl:value-of select="node-type"/>, except that doesn't exist of course)
- Mike Kamermans
<xsl:for-each select="node">
...
</xsl:for-each>
Is there a way to, for each node found, generate what kind of node it found, like <some_element> or <#PCDATA> or something that indicates the type of element it found?
(sort of like an <xsl:value-of select="node-type"/>, except that doesn't exist of course)
- Mike Kamermans