Dynamically generate XPath expression using XML data
- by iHeartGreek
Hi!
I would like to dynamically create XPath expressions in an XSL determined by data in an XML file. (i.e. the XML data is "concatenated" to create an XPath expression).
Example of XML data:
AAA
BBB
CCC
Example of how I would like the XPath expression to look like:
//AAA | //BBB | //CCC
And this dynamic generation needs to be done in an XSL file.
I am fairly new to XSL (and family) and would appreciate some general direction on how to tackle this problem.
Thanks!