When writing out <xsl:value-of select="count($unfilteredSource)"/> in a template it compiles and give me the desired result... But when using <xsl:value-of select="count($filteredSource)"/> instead it won't compile. 'filteredSource' are the same as 'unfilteredSource' when i write them out, so i have no idea why it isn't working...
I need to filter the nodes as part of adding paging to my grouping using the Muenchian method
Problem with using Copy-of nodes
Hi, I'm having a hard time geting this to work, so hope you can help me out... (i'm a n00b to xslt so please be gentle :-)
When writing out <xsl:value-of select="count($unfilteredSource)"/> in a template it compiles and give me the desired result...
But when using <xsl:value-of select="count($filteredSource)"/> instead it won't compile. 'filteredSource' are the same as 'unfilteredSource' when i write them out, so i have no idea why it isn't working...
I need to filter the nodes as part of adding paging to my grouping using the Muenchian method
Thanks in advance!
Cheers, horsted
It looks like you must use node-set function to filtered source.
http://www.xml.com/pub/a/2003/07/16/nodeset.html
Got it working (after way too much time) with your suggestion... Thanks, Petr :-)
is working on a reply...