On Sunday 26 February 2006 19:44, Michael Kay wrote:
[...]
Try:
<xsl:function name="r2c:hasTextContent()" as="xs:boolean">
<xsl:param name="node" as="node()"/>
<xsl:sequence select="some $x in $node/*[not(r2c:isOutputNode(.)]
satisfies
(r2c.isLeafNode($x) or r2c.hasTextContent($x))"/>
Too much Java programming there! (s/r2c.isLeafNode/r2c:isLeadNode/)
Cheers,
Frans
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--