Access unqualified XML element

Please support our C# advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2005
Posts: 2
Reputation: callavin is an unknown quantity at this point 
Solved Threads: 0
callavin callavin is offline Offline
Newbie Poster

Access unqualified XML element

 
0
  #1
Oct 17th, 2005
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?
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 263
Reputation: Toulinwoek is an unknown quantity at this point 
Solved Threads: 2
Toulinwoek's Avatar
Toulinwoek Toulinwoek is offline Offline
Posting Whiz in Training

Re: Access unqualified XML element

 
0
  #2
Oct 17th, 2005
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.
:!: In The Beginning, God; In The End, God. In between, believe whatever you like. :)
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC