Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: XHTML Output rendering >Thread Next - Re: XHTML Output rendering Re: XHTML Output renderingTo: NULL Date: 5/6/2007 10:50:00 AM On May 6, 3:14 pm, Martin Honnen <mahotr...@yahoo.de> wrote: > kokopell...@gmail.com 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> Hi Martin, That didn't seem to help. Check out this link to see what I mean. http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fhome.arcor.de%2Fmartin.honnen%2Fxslt%2Ftest2007050602.xml Anyways, I'll leave the issue alone since it's not bothering me...... :~> Thanks again, Chris > 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/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
