[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Cannot process a result tree fragment as a node-se
Alejandro wrote:
<p>Number: <xsl:value-of select="count(exsl:node-set($filter))"/></p> <!-- DON'T FUNCTION --> count should give 1. I guess you want to count the RecursoEx1 elements so you should use count(exsl:node-set($filter)/RecursoEx1) although with your sample document and stylesheet variables that count is 0. <xsl:for-each select="exsl:node-set($filter)">
But it is not clear what you want to achieve and why you use xsl:copy-of and exsl:node-set, it looks to me as if that might not be necessary at all. -- Martin Honnen http://JavaScript.FAQTs.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|