aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "using document.XMLDocument in Mozilla" Watch "using document.XMLDocument in Mozilla" New topic
Author

using document.XMLDocument in Mozilla

Harjot Narula
Greenhorn

Joined: Sep 22, 2003
Posts: 11
Hi
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.
Thanks
Harjot Narula
Balaji Loganathan
author and deputy
Bartender

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"?>
<catalog>
.
.
.
.
</catalog>
This helps you to keep your xml display platform neutral..
more info here => http://www.w3schools.com/xsl/xsl_transformation.asp
IS that what you want ??


Spritle Software Blogs
Harjot Narula
Greenhorn

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?
Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using document.XMLDocument in Mozilla