I'm not sure to understand what your <element> processing consists in. But, maybeTobias Berlinger wrote:
Tobias Berlinger wrote:
Hi,what kind of processing do you want to do?
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
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.
writing your own transformer could do the job :
You would see <element> tags passing through (startElement()) and then launch your
processing there.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
