• Post Reply Bookmark Topic Watch Topic
  • New Topic

Mozilla help for xslt  RSS feed

 
Piyush Rathore
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • 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.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • 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
  • 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
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!