Solved

Cross Browser XML Parser similar to MSXML Parser

Posted on 2004-09-15
8
522 Views
Last Modified: 2012-08-13
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
Comment
Question by:gjayakrishnan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
8 Comments
 
LVL 33

Accepted Solution

by:
sajuks earned 125 total points
ID: 12071918
0
 

Author Comment

by:gjayakrishnan
ID: 12081853
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
 
LVL 33

Expert Comment

by:sajuks
ID: 12082180
Not that am aware of. But then i might be wrong :-).
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
LVL 36

Expert Comment

by:Zyloch
ID: 12083693
Can you use server-side?
0
 

Author Comment

by:gjayakrishnan
ID: 12083725
No, i've to go by client side scripts
0
 
LVL 36

Assisted Solution

by:Zyloch
Zyloch earned 125 total points
ID: 12083868
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question