Dear ALL....
As i understood from the descendant concept in XPath in
Xml that The descendant axis contains the descendants of the context node; a descendant is a child or a child of a child and so on; thus the descendant axis never contains attribute or namespace nodes
/descendant::*
Select all descendants of document root and therefore all elements
but does this include also the attributes and their values or the answer should just be quote-list-quote-price???
<?xml version="1.0" encoding="iso-8859-1"?>
<quote-list date="Nov. 4, 2001" time="9:32 AM EST">
<customer first-name="Kurt" last-name="Gabrick" id="9999"/>
<quote symbol="SRMC" name="Sierra Monitor Corporation">
<price amount="2.00" currency="USD"/>
<price amount="1.05" currency="GBP"/>
<price amount="4000.00" currency="MXP"/>
</quote>
Best Regards,
Thanks in Advance!!!
As i understood from the descendant concept in XPath in
Xml that The descendant axis contains the descendants of the context node; a descendant is a child or a child of a child and so on; thus the descendant axis never contains attribute or namespace nodes
/descendant::*
Select all descendants of document root and therefore all elements
but does this include also the attributes and their values or the answer should just be quote-list-quote-price???
<?xml version="1.0" encoding="iso-8859-1"?>
<quote-list date="Nov. 4, 2001" time="9:32 AM EST">
<customer first-name="Kurt" last-name="Gabrick" id="9999"/>
<quote symbol="SRMC" name="Sierra Monitor Corporation">
<price amount="2.00" currency="USD"/>
<price amount="1.05" currency="GBP"/>
<price amount="4000.00" currency="MXP"/>
</quote>
Best Regards,
Thanks in Advance!!!