unable to extract html from xml?

Discussion in 'Javascript' started by Richard.L.White@gmail.com, Apr 28, 2007.

  1. Guest

    Hello,
    I'm hoping someone can help me here, I'm very new to xml & javascript
    and am, consequently, running into an issue. I'm getting the following
    xml document from an ajax call:

    <?xml version="1.0" standalone="yes" ?><response><right><div>
    <a href="CreateNewUser.php" title="Create a new user login">>>>Create
    User Login</a><br/>
    <a href="LayoutTest.php" title="Back to the Layout Test
    Page">>>>Layout Test</a><br/>
    <a name="n_test" href="index.php" title="Back to the
    beginning!">>>>Welcome!</a><br/>
    <br/>
    <br/>
    <input id="btnChange" class="LoginButton" type="submit"
    name="btnChange" value="Right" onClick="changeElement('right');" />
    <br/>
    <input id="btnChange2" class="LoginButton" type="submit"
    name="btnChange2" value="Welcome Content"
    onClick="changeElement('content');" />
    </div></right></response>

    but I have no idea how to extract the data ( anything in between the
    <right> tags ) as html. Any ideas or pointers on how I'd go about
    this?? Thanks in advance for any help!!
    , Apr 28, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Harry Zoroc
    Replies:
    1
    Views:
    930
    Gregory Vaughan
    Jul 12, 2004
  2. Replies:
    4
    Views:
    450
    Dennis Lee Bieber
    May 17, 2006
  3. Replies:
    10
    Views:
    531
    Philippe Martin
    May 17, 2006
  4. Mahesh
    Replies:
    0
    Views:
    86
    Mahesh
    Oct 4, 2003
  5. Jake Barnes
    Replies:
    6
    Views:
    387
    9.co.uk
    Feb 8, 2006
Loading...

Share This Page