Solved

Cross Browser XML Parser similar to MSXML Parser

Posted on 2004-09-15
8
515 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
  • 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now