Sneamia said:
Take a look at
http://www.geocities.com/jamesqian2001/test.xml .
Basically, there is a bug in Firefox that does not display the
background color/picture for the body tag. Is there any possible
workaround for this?
Replace output type html with xml. Then you get a purple background.
You're trying to do two conflicting things here, and FF is acting
correctly in refusing to be duped.
If you specify output type html then XSLT will create the output
file in SGML -- the original HTML without Null End Tags. You can
test this by using a standalone XSLT processor and examining the
output, which says <br></br> and <link></link>.
If you specify output type xml then it will create XML.
You are specifying html but then giving the Document Type details
as XHTML. So you have an old-style HTML document masquerading as
XML, or vice versa.
If you want to create output HTML with a DocType Declaration, use
HTML 4.xx or something, and code accordingly.
If you want to output valid XHTML, set the output type to xml.
///Peter