Results 1 to 3 of 3

Thread: [resolved] [2005] how to select parentnode in xml with certain id

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member jonwondering's Avatar
    Join Date
    May 2005
    Posts
    311

    Resolved [resolved] [2005] how to select parentnode in xml with certain id

    Hi, I have the following xml doc:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <books>
      <book id="1">
        <title>book1title</title>
        <text>book1text</text>
      </book>
      <book id="2">
        <title>book2title</title>
        <text>book2text</text>
      </book>
    </books>
    I was wondering how it's possible to select say book with id 2, so that later I could use that book's title and text. I am just trying to figure this out so that later I could use something like MsgBox(Book.Title)...

    Any suggestions?
    Last edited by jonwondering; Jun 2nd, 2006 at 12:27 PM.

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