MyTechFinds.com

  • Increase font size
  • Default font size
  • Decrease font size
Home Articles Software Development ASP.NET Some useful Xpath expressions

Some useful Xpath expressions

E-mail Print PDF
Article Index
Some useful Xpath expressions
Get unique values using xpath
Get leaf node only using xpath
All Pages
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,
  1. Get unique values using xpath
  2. 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>



Comments
Search
Only registered users can write comments!

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."

Last Updated on Thursday, 28 January 2010 14:45  

Our valuable member Superadmin has been with us since Tuesday, 21 April 2009.

Software Development

Login

Like it? Share it!


Search

Polls

Which of the following are characteristics of testable software?
 

MyTechFinds

Help us
We have 2 guests online