XML Transform to HTML

Discussion in 'XML' started by Marc Mendez, Sep 26, 2003.

  1. Marc Mendez

    Marc Mendez Guest

    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 ?
     
    Marc Mendez, Sep 26, 2003
    #1
    1. Advertising

  2. Marc Mendez wrote:

    > 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

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
     
    Martin Honnen, Sep 26, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anthony Harkness-Gripe

    Dataset to XSL Transform not displaying HTML--only XML

    Anthony Harkness-Gripe, Aug 14, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,026
    itnrant
    Jul 8, 2008
  2. =?Utf-8?B?UnViZW4=?=

    Transform Word XML to HTML

    =?Utf-8?B?UnViZW4=?=, Mar 27, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    4,067
    =?Utf-8?B?UnViZW4=?=
    Mar 28, 2006
  3. Johannes Koch
    Replies:
    0
    Views:
    856
    Johannes Koch
    Jul 2, 2003
  4. Marrow
    Replies:
    0
    Views:
    4,158
    Marrow
    Jul 2, 2003
  5. AndreFlash7
    Replies:
    2
    Views:
    373
    Finnbarr P. Murphy
    Mar 2, 2004
Loading...

Share This Page