Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: Help me with XPATH expression Help me with XPATH expressionTo: NULL Date: 10/1/2006 1:46:00 PM
Hi folks,
I am new to XML. I came across the following location path expressions:
(i) /*/*
(ii) /quotelist/quotation
can anyone explain me the nodeset for the above two path expressions
relating to the following XML document:
<quotelist>
<quotation style="wise" id="q1">
<text> Expect nothing; be ready for everything. </text>
<source> Samurai Chant </source>
</quotation>
<quotation style="political" id="q2">
<text> If one morning I walked on top of the water across the
Potomac
River, teh headline that afternoon would read "President
can't Swim".</text>
<source> XYZ </source>
</quotation>
<!-- This is a comment -->
<quotation style="silly" id="q3">
<text> What if the hokey-pokey IS what it's all about?
</text>
</quotation>
</quotelist>
Thanks in anticipation.
Regards,
Asrar
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
