|
[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 M. Karr wrote:
Not necessary if you are generating html.By setting "omit-xml-declaration" to "no", I thought that would NOT omit the XML declaration. That is, the XML declaration should have been there, right? So far, I haven't been able to get it to generate one.oops, I didn't see the subject, you probably use jaxp and somehow override <xsl:output> instruction, which is only hint, as David pointed out. It should. See http://www.w3.org/TR/xslt.html#section-HTML-Output-Method:I'm not sure exactly what you mean by "special meta tag for html (which you suppressed ...". Are you saying that if I used 'method="html"', it would automatically generate a "meta" tag? "If there is a HEAD element, then the html output method should add a META element immediately after the start-tag of the HEAD element specifying the character encoding actually used." Well, the same problem as with xml declaration - something overrides your <xsl:output> instruction.It is not doing that, if that's what you're saying. Oleg> And why you don't get doctype declaration in the output I don't understand, probably it's a kind of bug.All these 3 problems are steming from a source you have to figure out. Can you show us your java code and environment? -- Oleg Tkachenko Multiconn International, Israel 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
|

Cart








