unable to extract html from xml?

R

Richard.L.White

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!!
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top