Re: compare two nodes (the child elements, not the str
How about this (not very cool):
This does not work. The concat() function transforms the node sets into strings, and so the expression "concat(path/person/first, '|', path/person/middle, '|', path/person/last)" takes the values of the <first>, <middle>, and <last> elements of the *first* <person> element (the string value of a node set is by definition the string value of the first node in the node set) and concatenates them. So the test you propose will always yield "false" unless the context node happens to be equal to the first <person> element.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format