XML Transform to HTML

M

Marc Mendez

Hi,

I have a well formed xml file with xsl and dtd files; the xsl file apply an
html file to the data.

With IE, if I open the XMl file, I get a HTML doc with my data
But, with Java or with XML SPy, if I try to apply the XSL Transformation, I
just get the HTML doc, without data !
BTW, with mozilla, if I open the XML file, I get an error :

Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:

Any idea ?
 
M

Martin Honnen

Marc said:
Hi,

I have a well formed xml file with xsl and dtd files; the xsl file apply an
html file to the data.

With IE, if I open the XMl file, I get a HTML doc with my data
But, with Java or with XML SPy, if I try to apply the XSL Transformation, I
just get the HTML doc, without data !
BTW, with mozilla, if I open the XML file, I get an error :

Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:

For Mozilla, make sure your server delivers the XSL file with
Content-Type text/xml
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top