You have to parse your string to transform it in SAX events...

Best Regards...

MSL

Jozsa Kristof wrote:
> 
> Hi,
> 
> I have an EJB-Cocoon setup. I use a custom Transformer to replace a specific
> xml tag on the pipeline with a String pulled from EJB middleware; but has
> met some problems doing so.
> 
> First I thought I just write the startElement() method of the Transformer,
> which looks for the specific xml tag, and do super.contentHandler.characters
> (myXMLStringFromEJB), but of course this will handle the whole XML string as
> characters (< and > converted to &lt; and &gt;), so that's not the way to do
> it.
> 
> So the question is, how do I parse an additional XML string properly into
> the currently processed XML stream in a Transformator?
> 
> Christopher
> --
> .Digital.Yearning.for.Networked.Assassination.and.Xenocide
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

-- 
Mauricio Souza Lima
Rational Consulting
[EMAIL PROTECTED]
Rua Helena, 140 / cj. 82
São Paulo - SP - Brazil
Fone / Direct: +55 11 3842-7138

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to