Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

using document.XMLDocument in Mozilla

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ??
 
Harjot Narula
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 RELEASE YOU! (for now .... ) Feel free to peruse this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic