How to create a list of nodes?
Posted: Sat Jul 14, 2007 12:00 am
Hi all,
I have an XSL that selects arrays with a given @Code from my data XML (data_doc) like this:
Do you know if there is a way to output the list of array @Code names to a string (i.e. "X1Y1 X2Y2 X3Y3 etc...") - there can be arbitrarily many of them?
This is needed so I can call a JS function with that string as a parameter and form the test="..." query based on user input.
I've tried looking on the net, but haven't found any info on that topic
Thanks!
kdavyd
I have an XSL that selects arrays with a given @Code from my data XML (data_doc) like this:
Code: Select all
<xsl:if test="count($data_doc//Array[(contains(@Code, 'X1Y1') or contains(@Code, 'X2Y2'))])!= 0">
<xsl:do_something />
</xsl:if>
This is needed so I can call a JS function with that string as a parameter and form the test="..." query based on user input.
I've tried looking on the net, but haven't found any info on that topic
Thanks!
kdavyd