A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: transforming xml into xhtml with netscape

  1. #1
    Junior Member
    Join Date
    Jun 2002

    transforming xml into xhtml with netscape

    Hello, I'm trying to use xsl to transform xml content into an xhtml page. I've written the xhtml and tested it out in NN and IE and it works fine in both (it's a layout based entirely on CSS instead of tables). After using xsl though, the output for IE looks just fine but on NN 7 it's off by a bit. I suspect it's because < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > is missing from the transformed file so that NN isn't parsing the CSS the way I want it to. Is there a workaround for this? Thanks.
    - virtualshock

  2. #2
    Senior Member
    Join Date
    Feb 2001
    Provo, Utah
    Talk about opening the wrong bag of apples...

    You've stumbled into a _very_ bad area. Basically MS and Mozilla will never agree.

    Different browsers interpret DTD's differently... in one browser it might be quirks mode, in another it might be standards mode...

    All I can say is either do two different CSS documents, or figure out a different way to layout your page, or cut a browser out... other than that - good luck.
    Richard Lyman
    rich at lithinos.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center