Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XHTML Output rendering XHTML Output renderingTo: NULL Date: 5/6/2007 3:42:00 AM Hello all, I seem to have trouble producing a true XHTML document from a XSLT stylesheet. 1) No matter what I try, I can't seem to produce the resulting page with the proper DOCTYPE attribute. Ex. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> The XLST will reject every thing I try. I've read that it is possible but quite tricky. 2) Besides the first problem, I can't seem to set the bottom margin for the resulting document. Ex. For a quick test, I set the margins of the body to 0px and I set the color of the body to see the problem more clear. <body bgcolor="#009900" style="margin:0pt;"> The color inside the body will never go to the bottom of the document. In other words the page will always have the bottom margin shown. It's odd. I've specifically tried to change the bottom margin but it didn't work using margin-bottom:0px. If I change the global margin style from margin:0pt to something else like margin:5pt, the left, top and right will change as expected. Here is the xml http://hortonchris.com/test/test.xml and it's stylesheet http://hortonchris.com/test/test.xsl I hope someone can help me with this. It's been bugging me a few weeks now. Thanks in advance, Chris | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
