File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes using document.XMLDocument in Mozilla Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "using document.XMLDocument in Mozilla" Watch "using document.XMLDocument in Mozilla" New topic

using document.XMLDocument in Mozilla

Harjot Narula

Joined: Sep 22, 2003
Posts: 11
I need to port an XSL written for IE6 to Mozilla 1.4
Mozilla does not support document.XMLDocument
I need an equivalent of document.XMLDocument in Mozilla and probably other document.<properties......>
Any kind of help is appreciated.
Harjot Narula
Balaji Loganathan
author and deputy

Joined: Jul 13, 2001
Posts: 3150
You can display XML directly in web format(html) by in-refering the xsl like this
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="cdcatalog.xsl"?>
This helps you to keep your xml display platform neutral..
more info here =>
IS that what you want ??

Spritle Software Blogs
Harjot Narula

Joined: Sep 22, 2003
Posts: 11
Not really,
I AM ALREADY loading the XML in the way you suggested. I actually require a reference to the XML object of the loaded XML in Mozilla, so that I can traverse its nodes via javascript.
In IE, document.XMLDocument returns me a refernece this object. Is there any way for me to do it in Mozilla?
I agree. Here's the link:
subject: using document.XMLDocument in Mozilla
It's not a secret anymore!