|
-
Nov 17th, 2006, 04:59 PM
#1
Thread Starter
Lively Member
[2.0] XML reading
I've got an XML file:
<region>
<name>fooname</name>
<type>footype</type>
<moreinfo>
<example1>blah example 1</example1>
</moeinfo>
</region>
note that there are not multiples of any of the children of region.
I've been fooling around with XPATH and other various things in VS2005. Any help returning the name of the region (fooname in this example) and/or "blah example 1" from within the moreinfo would be much appreciated.
-
Nov 23rd, 2006, 04:30 AM
#2
Re: [2.0] XML reading
/region/name/text()
/moreinfo/*/text()
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|