Is there any way in XSLT that I can count the number of nodes that have a valid ID after the first "|" symbol (as expressed in the above two variables)?
Doesn't seem like the best idea, but a simple one: - put the results into a nodeset and then count, and do whatever. But its 2 for-each loops where one did it in the past.
Count the nodes that have a valid ID somewhere in a property?
Currently I have this pieces of XSLT:
Is there any way in XSLT that I can count the number of nodes that have a valid ID after the first "|" symbol (as expressed in the above two variables)?
Doesn't seem like the best idea, but a simple one: - put the results into a nodeset and then count, and do whatever. But its 2 for-each loops where one did it in the past.
Not tested, but it looks like it might work to me.
You can also use the EXSLT extensions to create node sets (msxml requires full trust i think)
Just what I needed Josh, thanks so much!
Shannon: I know, but I was trying to avoid writing an extension, no problem with trust issues here. :-) Thanks!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.