Page 1 of 3
Here are some useful Xpath expression which were a little hard to figure out for a newbie like me so I am making an attempt to document them. Here are 2 of them,
- Get unique values using xpath
- Get leaf node only using xpath
Here is my input XML that I want to parse
<?xml version="1.0" standalone="yes"?>
<folder fname="data">
<file feature="Catalog Home Applet" build="2.0.442.0" />
<file feature="Devportal" build="2.0.442.0" />
<file feature="Client" build="2.0.449.0" />
<file feature="Client" build="2.0.448.0" />
<file feature="SP Potral" build="2.0.441.0" />
<file feature="GHx" build="2.0.441.0" />
<file feature="Storage" build="2.0.442.0" />
</folder>
Last Updated on Thursday, 28 January 2010 14:45
Our valuable member Superadmin has been with us since Tuesday, 21 April 2009.