xsl-list
[Top] [All Lists]

Re: Fwd: Parsing Entities

2006-01-10 06:31:48
On 10/01/06, Michael Kay <mike(_at_)saxonica(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>