Quote:
|
quote:I read that as: the closest preceding sibling whose name ends in a specific "VALUE"
|
Correct.
Quote:
|
quote:It's not a good idea to build structural information into your element names - that's what attributes are for.
|
Agreed. Unfortunately, I don't create the XML, just process what I'm given, so I don't have the ability to make that change.
Quote:
|
quote:ends-with() is XPath 2.0.
|
With my limited knowledge of 2.0, it sounds like in order to use it will involve some kind of software install/update, both of which can't be done for this project (besides, it would require every PC that wanted to view the XML correctly to perform the same upgrade/install, something that again may or may not be able to be done depending on each of their company's policies, so most likely not).
If it can't be done in 1.0 then I'll just have to report back that I'm unable to get it done with the current limitations, and see if they'll cough up the money to get the XML corrected so that the structural information is in the attributes instead of the element name, since that would be the less intrusive alternative.
Thanks again Michael, I appreciate the response, and feedback.
Thanks!