A
Andy Fish
Hi,
using XSLT 1.0, consider something like this:
<xsl: variable name="foo">
<apply-templates select="..." mode="..." />
</xsl:variable>
<xsl:if test="$foo">
do something in here
</xsl:if>
here the test always returns true because even an empty RTF has one node.
how can i tell if it has any children(assuming none of the children might be
a text node)?
Andy
using XSLT 1.0, consider something like this:
<xsl: variable name="foo">
<apply-templates select="..." mode="..." />
</xsl:variable>
<xsl:if test="$foo">
do something in here
</xsl:if>
here the test always returns true because even an empty RTF has one node.
how can i tell if it has any children(assuming none of the children might be
a text node)?
Andy