cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mauricio Souza Lima <maurici...@terra.com.br>
Subject Re: Feeding XML String in Transformator
Date Fri, 01 Feb 2002 13:29:28 GMT
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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

-- 
Mauricio Souza Lima
Rational Consulting
mauriciosl@terra.com.br
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message