Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: test for an empty result tree fragment test for an empty result tree fragmentTo: NULL Date: 2/8/2007 2:30:00 PM 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
