Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XHTML Output rendering

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 5/6/2007 3:15:00 PM

kokopelli69@g... wrote:
> Thanks Martin. The margin problem is clear now.
> 
> What are the consequences of not having the <!DOCTYPE html PUBLIC "-//
> W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> statement in my
> rendered XHTML page?
> 
> As for testing, I test the pages using the latest Firefox(with Web
> Developer Toolbar). Yes, It's all client based and when I use my Web
> Dev toolbar, I can see that It is well formed but without the <!
> DOCTYPE... statement. 

>> <http://home.arcor.de/martin.honnen/xslt/test2007050601.xml>

I am pretty sure the result document has a DOCTYPE node, with Mozilla 
you can check this
<http://home.arcor.de/martin.honnen/xslt/test2007050602.xml>
and script shows that there is a document.doctype node in the result 
element. If your toolbar does not show it then ask in a Mozilla group or 
developer toolbar forum why the doctype node is not shown.

As for IE, I am pretty sure too that MSXML, with the xsl:output that is 
in the stylesheet, generates a DOCTYPE in the result document. However 
the IE DOM always has document.doctype as null so script can't find it, 
whether the document is the result of an XSLT transformation or a static 
XHTML or HTML document does not matter.



-- 

	Martin Honnen --- MVP XML
	http://JavaScript.FAQTs.com/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent