Xpath?

admin

Administrator
Staff member
from the quotelist.xml file what is the result of the XPath :
/descendant::*
//quote/descendant::*
//quote/descendant::price

how can i know the / which current it is???
does anyone can help in that?

quotelist.xml file

<?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>
<quote symbol="IBM" name="International Business Machines">
<price amount="135.00" currency="USD"/>
<price amount="67.75" currency="GBP"/>
<price amount="230000.00" currency="MXP"/>
</quote>
<quote symbol="ORCL" name="Oracle Corporation">
<price amount="15.00" currency="USD"/>
<price amount="7.75" currency="GBP"/>
<price amount="30000.00" currency="MXP"/>
</quote>
</quote-list>
 
Back
Top