• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 528
  • Last Modified:

Cross Browser XML Parser similar to MSXML Parser

Hi,

I've been using MSXML parser (ActiveX Object) in javascript to parse & read data from XML files. Also, it has been used to update XML files.

But, unfortunately MSXML works in IE only. I need a cross-platform and cross-browser XML parser that can be used in javascript.

Can anyone suggest a good parser.

TIA
jai

0
gjayakrishnan
Asked:
gjayakrishnan
  • 2
  • 2
  • 2
2 Solutions
 
gjayakrishnanAuthor Commented:
Dear Sajuks,

thanx 4 ur immediate response. ur links gives reference regarding parsing of XML data.

actually, following r my requirements (other than mere parsing) that i've to do in javascript using some XML object.

    - Load an XML file that contains actual data
    - Load an XSL file that contains the stylesheet of how the data should be displayed
    - Transformation of XML data and XSL stylesheet into an HTML
    - Create/Update/Delete nodes in the XML file (i.e., saving the new data into the same XML file)

the above following things are possible thro' MSXML ActiveXObject. Is there any similar XML Object available that's supported cross-platform/browser.

TIA
jai
0
 
sajuksCommented:
Not that am aware of. But then i might be wrong :-).
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
ZylochCommented:
Can you use server-side?
0
 
gjayakrishnanAuthor Commented:
No, i've to go by client side scripts
0
 
ZylochCommented:
There's no easy way I know of. You can load the XML document easily enough (even with XMLHTTP if you want), but modifying it, well, Mozilla is a bit behind IE in XLST (I think) but here's a link to get you started.

http://www.mozilla.org/projects/xslt/faq.html
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now