|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Fwd: Parsing Entities
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('<e>', letter_text,
> '</e>'))/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
|
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








