M
Mike Kamermans
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
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