[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Cocoon ignoring xsl:output?

Subject: RE: Cocoon ignoring xsl:output?
From: Dylan Walsh <Dylan.Walsh@xxxxxxxxxx>
Date: Wed, 29 Nov 2000 09:48:58 -0000
cocoon xsl output
I have not used Cocoon to produce XML, however when using it to produce HTML
we have used the convention of including the following in the XSLT, at the
top level of the stylesheet:

<xsl:processing-instruction
name="cocoon-format">type="text/html"</xsl:processing-instruction>

I do not know for certain that this will work, but perhaps you might like
try the above with type= "text/xml" to see if that makes a difference. 

> -----Original Message-----
> From:	Kynn Bartlett [SMTP:kynn@xxxxxxxxxxxx]
> Sent:	Wednesday, November 29, 2000 6:37 AM
> To:	'xsl-list@xxxxxxxxxxxxxxxx'
> Subject:	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".
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.