cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Berlinger" <tberlin...@web.de>
Subject Re: Help: Sending Xml from Pipe to Pipe
Date Sat, 17 Jan 2004 10:21:15 GMT

> Tobias Berlinger wrote:
>
>>>Tobias Berlinger wrote:
>>>
>>>
>>>
>>>>Hi,
>>>>
>>>>here is my problem, hope someone here can help me.
>>>>
>>>>i have a pipe which creates a xml like this:
>>>>
>>>><elements>
>>>>  <element name="a">
>>>>     <b/>
>>>>  </element>
>>>>  <element name="b">
>>>>     <b/>
>>>>  </element>
>>>>  <element name="c">
>>>>     <b/>
>>>>  </element>
>>>>  <element name="d">
>>>>     <b/>
>>>>  </element>
>>>>  ....
>>>></elements>
>>>>
>>>>now i want to send some element subtrees to a different sub pipes. the
>>>>subtree "element" should processed by the subpipe and after processing
>>>>the
>>>>result of the subpipe should be replaced with the "element" subtree.
>>>>
>>>>how could i realize this in cocoon? i have tried several ways, but no
>>>> one
>>>>works.
>>>>
>>>>thanks in advance
>>>>
>>>>tobias
>>>>
>>>>
>>>>
>>>>
>>>what kind of processing do you want to do?
>>>
>>>
>>>
>>hi,
>>a transformation. the subtree structure will be the same after walking
>>through the subpipe.
>>i looked at xinlude, but i want to include not a file.
>>
>>
>>
> You mean for each <element> you want to launch something but the xml
> structure/content never changes?
>
true, but it could be possible the the subtree in the <element> tag could
be changed by the subpipe.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message