This week's book giveaway is in the Java in General forum.
We're giving away four copies of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 and have ishori Sharan & Adam L Davis on-line!
See this thread for details.
Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Mozilla help for xslt

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a xslt file looking great in IE6.0. Now I want to test it in mozilla but m failing in getting any of response. Please refer me any useful links where i can get the basic requirements for compatible running of my xslt on IE to Mozilla.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How does your XML document refer to the stylesheet?
I had a similar problem some time ago. I used the following in my XML:

However, if I remember correctly, my problem (IE working fine but Mozilla showing blank) was due to the XSL file's access rights and MIME type configurations on the web server so you might want to check those as well.
 
Piyush Rathore
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
<?xml version="1.0"?>
<?xml-stylesheet href="otnsample.xsl"?>
<otnsamples>
<sample id="sm001">
<author><i>Doe, John</i></author>
<title>CMS XML DB</title>
</sample>
</otnsamples>
I was trying to work on this xml code. After the insertion of type="text/xsl" mime-type attribute it seems to be working.
But the result reference xsl file is unable to pick up the Literal Result Elements Of XSL file such as <i>,<u>,<b> tags. What else is to be needed to look after if i am embedding JavaScript now in my xsl. Which parser does mozilla support with xsl engine?
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

the result reference xsl file is unable to pick up the Literal Result Elements Of XSL file such as <i>,<u>,<b> tags. What else is to be needed to look after if i am embedding JavaScript now in my xsl.


For that, we'll need to see the XSL file.

Which parser does mozilla support with xsl engine?


I didn't quite get this question. Mozilla has its own XSL engine and XML parser so you don't need to install anything special (and I believe you couldn't even if you wanted to)...
Meanwhile, would you mind adding a last name into your display name -- our naming policy requires it.
Thanks.
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic