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

A better way to query for a single node

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:


Details about this resource
Resource URL:

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

Rating:

0.00

# Times Viewed:

399

Date Added: 6/10/2004 4:29:20 AM
Link Type: XML.NET
Link Category: TipsAndTricks
Reviews Be the first to Review this resource
Review
Rate
Refer
Favorites
Print
Report
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
optimum rewards
clown mask
silicone old man mask
Lexmark printer refills
Car News
Giorgio armani sunglasses
Diseñadores de Página Web
Web Hosting Services
Video Surveillance
Skype vs. sipcall

2,877 Total Members
14 members(last 30 days)
2 members(last 7 days)
1 members(today)

1,912 Total Discussions
1 Posts(last 30 days)
0 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,066 Total Resources
4 Resources(last 30 days)
1 Resources(last 7 days)
1 Resources(today)