cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lundquist ...@wrinkledog.com>
Subject Re: XML Merge Best Practices
Date Thu, 13 Oct 2005 15:31:54 GMT

On Oct 13, 2005, at 8:14 AM, Julian wrote:

> I have some (generally 2-4) XML documents (approx. 200
> KB in size) that I would like to merge.   The
> documents would have the same id attributes and tag
> names.  The tags which share the same name and id
> attribute should be merged into one node, and any
> content within the original two nodes merged and
> appended in the new node.  The resulting merge would
> create one XML document.  Considering the size of the
> documents, what is the most efficient
> approach...Aggregation via the sitemap? XSLT?
> SAX ala JAXP? DOM ala JAXP? or some other approach?

Note, <map:aggregate> does not merge documents.  It aggregates :-).

I would lean toward XSLT.
—ml—




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


Mime
View raw message