Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old August 17th, 2008, 02:05 PM
Newbie
 
Join Date: Jul 2008
Posts: 21
Default XML parsing in JavaScritp

Hi,

I am working in web project. I have servlet which will create the xml and send it
as a String variable to client side as response. And I am parsing this xml string using javascript's dom.

I would like to know is there any other way to parse the xml in client side?
Or any framework (DOJO) can do this thing?
Reply
  #2  
Old August 21st, 2008, 12:55 PM
Dormilich's Avatar
Expert
 
Join Date: Aug 2008
Location: Leipzig, Germany
Age: 31
Posts: 633
Default

I know that you can convert WDDX (xml) files into JavaScript Objects. Other ways depend upon what you want to parse the xml for.

btw. as far as I know you can't parse a single string with DOM (well, one is about characters and the other about objects) though the xml might be sent as xml (it reminds me of responseText and responseXML)
Reply
Reply

Bookmarks

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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles