Re: various problems

Martin Honnen <[email protected]>
Newsgroups gmane.comp.mozilla.devel.layout.xslt
Organization Liberty Development
Message-ID <[email protected]>

Ricardo wrote:


> - The background-image does not fit the whole document (there is a white
> border around the page)

You are transforming to XML and not to HTML, that might make the 
difference, consider adding
   <xsl:output method="html"
               media-type="text/html" />
to ensure you get HTML output.

>  - document.lastModified shows: /January 1, 1970 GMT/
> In HTML or IE (XSL or HTML) it shows the real date

That could indeed be a problem, Mozilla transforms the XML document tree 
to a new document tree and obviously for a dynamically created document 
lastModified is not known.
Let's wait what someone of the XSLT developers has to say on that.

>  - document.compatMode is undefined (in HTML or IE in both cases works
> properly)

In text/xml document document.compatMode is not implemented, whether 
they result from a transformation or are created statically so try
   <xsl:output method="html" media-type="text/html" />
and you should have compatMode.


-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.