This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: merging XML documents <eom>
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] merging XML documents <eom>
- From: Oliver Becker <obecker at informatik dot hu-berlin dot de>
- Date: Wed, 31 Jan 2001 14:45:30 +0100 (MET)
- Reply-To: xsl-list at lists dot mulberrytech dot com
Lee,
> Can I merge document trees in XSLT (or some other way). Basically I want to
> merge XML documents and the result should be a "master" XML document. My
> goal is to create a definitive XML document from a very large dataset, then
> generate a DTD from this document allowing me to analyse implemented DTD
> structure against the actual DTD. I guess I would have to know what was in
> the result tree already to know whether to or not to copy the current node
> to it, as I wouldn't want to duplicate nodes in the output, as this would
> not truely represent the document structure, eg. two files, the first
> contains a, b the second a,b,c, the result should be a,b,c not aa,bb,c
>
> any ideas appreciated,
do you know the "merge"-stylesheet I created a few months ago?
http://www.informatik.hu-berlin.de/~obecker/XSLT/#merge
Maybe it exactly solves your problem.
Cheers,
Oliver
/-------------------------------------------------------------------\
| ob|do Dipl.Inf. Oliver Becker |
| --+-- E-Mail: obecker@informatik.hu-berlin.de |
| op|qo WWW: http://www.informatik.hu-berlin.de/~obecker |
\-------------------------------------------------------------------/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list