[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: JDK14/JDOM: generating a DOCTYPE decl. in output?
>>>>> "David" == David Carlisle <davidc@xxxxxxxxx> writes: David> If you are generating HTML 4, you don't want to force the xml output David> method David> <xsl:output method="xml" indent="yes" encoding="utf-8" David> doctype-public="-//W3C//DTD HTML 4.01//EN" David> doctype-system="http://www.w3.org/TR/html4/strict.dtd" David> omit-xml-declaration="no" /> David> otherwise there will be no way to get HTML syntax for empty elements, David> script elements etc. David> If you change that to method="html" (which would be the default anyway) David> the output will use HTML syntax and also automatically add a David> specification of the encoding used into the head element. I tried changing the output method from "xml" to "html", and it caused absolutely no difference in the output. -- =================================================================== David M. Karr ; Java/J2EE/XML/Unix/C++ dmkarr@xxxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|