Results 1 to 2 of 2

Thread: [2.0] XML reading

  1. #1

    Thread Starter
    Lively Member deranged's Avatar
    Join Date
    Jun 2004
    Location
    TN
    Posts
    104

    [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.

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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
  •  



Click Here to Expand Forum to Full Width