Hi Torsten,
I have the following pipeline:
<map:match pattern="Agg">
<map:aggregate element="site">
<map:part type="file" element="part1" src="prototyp/part1.xml"/>
<map:part type="file" element="part2" src="prototyp/part2.xml"/>
</map:aggregate>
<serialize type="xml"/>
</map:match>
File part1.xml:
<?xml version="1.0" encoding="UTF-8"?>
<head>
This is part1
</head>
File part2.xml:
<?xml version="1.0" encoding="UTF-8"?>
<head>
This is part2
</head>
in the "protyp" directory below cocoon (that's the location where all my
xml-files reside on, I also tried it on my local drive with the complete
path).
Maybe you can help me?
Thank you, best regards
- Volker -
-----Original Message-----
From: Torsten Curdt [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 19. April 2002 09:35
To: [EMAIL PROTECTED]
Subject: Re: Aggregation sample
On Fri, 19 Apr 2002, Volker Schneider wrote:
> Hi colleagues,
>
> does anybody have a simple aggregation sample where two xml files from
> filesystem are aggregated together?
Did you have a look into the samples yet?
<aggregate>
<part ...>
<part ...>
</aggregate>
set up a internal pipeline for the files and use this pipeline in the
"part"s...
> Documentation says "aggregation is simple" - I don't think so...
It is ;-)
--
Torsten
---------------------------------------------------------------------
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]>
---------------------------------------------------------------------
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]>