Altova Mailing List Archives
>microsoft.public.xml Archive Home
>Recent entries
[Thread Prev]
>Thread Next - Re: XPath Question
XPath Question
To: NULL
Date: 3/5/2005 2:03:00 AM
If I have xml as this: <sElements> <ses ct="0"> <se ... /> <se ... /> <se ... /> <se ... /> </ses> <ses ct="1"> <se ... /> <se ... /> <se ... /> <se ... /> </ses> <ses ct="2"> <se ... /> <se ... /> <se ... /> <se ... /> </ses> </sElements> and I wanted to process all the <se> elements under a single specific <ses> element depending on its "ct" attribute is this the correct xpath expression: sElements/ses [@ct = "1"]/se ??? I see that I can use the [@attribute = "value"] expression to narrow down which elements to return, but can I go further and add the /se after such an express as typed above? It would help immensely. Michael Hughes - Silverton, Oregon http://wou.ath.cx/Trivia http://wou.ath.cx/AmateurRadio
Disclaimer
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

