Thanks in advance for anyone who can assist.
I have an interesting problem in XSLT where I want to end up with a condition symmantically similar to:
Using a template matching "p",here is an example input XML file to be transformed:
This text should appear in transformed version.
This text should not be seen.
The more specific problem is how to count the number of child nodes that have matching text to "web".
I've tried using a for-each loop with an xsl:variable element to count but xsl:variable can't be updated.
0 · ·