[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] DOCTYPE public and system fields run together in gene
I have not been able to find an answer in the archives. I am generating HTML with an XSLT 1.0 style-sheet transforming XML directly through a Transformer using the standard resources in Java JDK 1.5.0_11 My resulting HTML page has this DOCTYPE line <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"> The problem is that the two quoted fields are run-together without any white space. The resulting web-page renders successfully, but fails W3C validation. I use this statement in my style-sheet <xsl:output doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd " method="html" indent="yes" encoding="ISO-8859-1" media-type="text/html"/> I have been able to avoid this problem by using XSLT 2.0 along with the saxon8.jar to employ the net.sf.saxon.TransformerFactoryImpl However, my user would very much like to solve this staying within the normal JDK resources and staying with XSLT 1.0 What might I do to solve this?
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|