[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: Gary Stewart <the.stewarg@xxxxxxxxx>
Date: Tue, 10 Jan 2006 13:31:48 +0000
saxon parse
On 10/01/06, Michael Kay <mike@xxxxxxxxxxxx> wrote:

>
> saxon:parse will do the job just fine. You need to wrap it in an element to
> make it well-formed:
>
> select="saxon:parse(concat('&lt;e&gt;', letter_text,
> '&lt;/e&gt;'))/e/child::node()"
>
> should do the trick.

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. If
you know anything about this though it would be really handy.

Sorry if I shouldn't have kept this on the list. I'm not sure if it
would be of interest to a wider audience (or if I'm not better of
asking the Cocoon mailing list).

Thanks,

Gary

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.