XML parsing in JavaScritp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kokababu
    New Member
    • Jul 2008
    • 39

    #1

    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?
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    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)

    Comment

    Working...