Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > unable to extract html from xml?

Reply
Thread Tools

unable to extract html from xml?

 
 
Richard.L.White@gmail.com
Guest
Posts: n/a
 
      04-28-2007
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!!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i extract vidios when winrar wont extract them??? help plzzzzzzzz smuttdog@sc.rr.com Computer Support 2 12-23-2007 07:03 AM
Unable to extract Python source code using Windows Elric02@rogers.com Python 10 05-17-2006 06:34 PM
Unable to extract Python source code using Windows Elric02@rogers.com Python 4 05-17-2006 04:43 PM
unable to capture all the HTML of my page,or I'm unable to save it to disk Jake Barnes Javascript 6 02-08-2006 02:38 PM
Unable to extract downloaded Windows Office trial Tass Computer Support 2 08-09-2005 07:59 AM



Advertisments