Community-Credit.com | NonProfitWays.com | SOAPitstop.com   Skin:   
      User: Not logged in 
Home
Newsletter Signup
XSLT Library
Latest XML Blogs
Featured Examples
Presentations
Featured Articles
Book Chapters
Training Courses
Events
NewsGroups
 
Discussions
Examples
Tutorials
Tools
Articles
Resources
Websites
 
Sign In
My Profile
My Articles
My Examples
My Favorites
My Resources
Add a Resource
Logout
 
About Me
My Blog
HeadGeek Articles
Talking Portfolio
Resume
Pictures
World Trip Pics

Refer this resource to a friend

Friend's Email Address:
Your Name: (optional)
Your Email: (optional)

 

 

Resource Name:

A better way to query for a single node

Resource Description:

In the XmlNode class, that is the class that provides node functionality in an XMLDOM representation of an XML document, the SelectNodes (and the ancillary SelectSingleNode) method exploits the XPath query language to let you extract nodes based on logical conditions. The SelectNodes methods return a collection of XmlNode object, whereas SelectSingleNode returns only the first node that match the XPath criteria. However, a quick look at the implementation of SelectSingleNode suggests that using SelectNodes is often preferable. The following pseudocode shows the internal working of SelectSingleNode:

Resource URL:

http://www.devx.com/vb2themax/Tip/18823

 

Notes

Confirmation Code:

 

   Please enter the code shown below

 



 
Fans of "The Office"
Dwight Bobbleheads are here!

  “It's me! I'm the bobblehead! Yes!”



Advertise on XMLPitstop

Advertise on XMLPitstop


EggHead Cafe
Web Servicee development
DotNetSlackers
Alojamiento Web
UK Web Hosting
electronic faxing
tele conference calling
fax
Video Surveillance
brand names sunglasses
Video Surveillance
VoIP Internettelefonie

2,883 Total Members
19 members(last 30 days)
8 members(last 7 days)
2 members(today)

1,919 Total Discussions
8 Posts(last 30 days)
7 Posts(last 7 days)
0 Posts(today)

47,487 Total Blog Posts
0 Blogs(last 30 days)
0 Blogs(last 7 days)
0 Blogs(today)

8,699 Newsgroup Posts
0 Posts(last 30 days)
0 Posts(last 7 days)
0 Posts(today)

14,070 Total Resources
7 Resources(last 30 days)
5 Resources(last 7 days)
0 Resources(today)