A
ajkadri
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
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