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

RE: Fwd: Parsing Entities

Subject: RE: Fwd: Parsing Entities
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 10 Jan 2006 13:52:44 -0000
cocoon parse entities
> Thanks that worked, sort of. Though this is somewhat our of the scope
> of this list the transformation works just fine in saxon but if I try
> it in Cocoon using Saxon (com.icl.saxon.TransformerFactoryImpl) I get
> it wrapped in <?javax.xml.transform.disable-output-escaping > which is
> presumably something to do with the way it interacts with Cocoon. 

That's something that typically happens if you use
disable-output-escaping="yes" in your stylesheet and then, rather than
serializing the output with an XSLT serializer, you send the output to a SAX
ContentHandler. The processing instruction is defined by JAXP for use in
these circumstances, but if the recipient doesn't handle it specially then
it will probably appear as such in the output.

But if you're using saxon:parse then I'm not sure why you're also using
d-o-e...?

Michael Kay
http://www.saxonica.com/

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.