944,007 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 4189
  • C# RSS
Oct 17th, 2005
0

Access unqualified XML element

Expand Post »
Hi
I have one application which have xml like this:

<?xml version="1.0" encoding="utf-8" ?>
<XML xmlns="http://www.abc.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="xxxx.xsd">
<Device make="P" model="V">
<!--Group Information-->
<Groups>
<Group name="h">
<Device>P_V4</Device>
<Device>P_n</Device>
</Group>
....
....
</Device>
</XML>


How can I access the elements under the tag "Group"??

suggest me some good tutorial regarding the namesapaces and xpath queries?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
callavin is offline Offline
2 posts
since Oct 2005
Oct 17th, 2005
0

Re: Access unqualified XML element

Try this:

http://lab.msdn.microsoft.com/express/beginner/

This page has some very good beginner tutorials for C# Ezpress; the important thing is, one of them deals pretty thoroughly with XML and explains in simple terms how to access elements in XML files.
Reputation Points: 10
Solved Threads: 2
Posting Whiz in Training
Toulinwoek is offline Offline
274 posts
since Mar 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: host header on iis programmatically
Next Thread in C# Forum Timeline: Sharp Develop Question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC