Cocoon ignoring xsl:output?
Hi, I'm having a bit of a problem; we're using cocoon/jakarta/ xerces/etc to apply a stylesheet dynamically to create WML. The XSLT includes the following:
<xsl:output method="xml" omit-xml-declaration="no" indent="yes" doctype-system="http://www.wapforum.org/DTD/wml_1.1.xml" doctype-public="-//WAPFORUM//DTD WML 1.1//EN"/>
However, the resulting output has the following qualities:
1. An HTML 4 DTD in the DOCTYPE instead of the WML DOCTYPE specified above.
2. Outputs <br/> as <br>, which I think indicates that for some reason it is outputting as method="html" not method="xml".
I don't know why it's doing this; I'm just the XSL/XML hack and someone else is dealing with the server aspects. I think it's his problem to solve, and he is beginning to believe me, but we are not sure where to start looking.
Does this sound familiar to anyone?
Thanks in advance,
--Kynn -- Kynn Bartlett <kynn@xxxxxxxxxxxx> http://www.kynn.com/
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