This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Advise on xsl usage producing very complex html
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Advise on xsl usage producing very complex html
- From: "Pollington, Lee (ELSLON)" <lee dot pollington at biomednet dot com>
- Date: Wed, 31 Jan 2001 13:20:22 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
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,
Lee
-----Original Message-----
From: Eric van der Vlist [mailto:vdv@dyomedea.com]
Sent: 31 January 2001 12:52
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] Advise on xsl usage producing very complex html
Hi,
viewga wrote:
> Maybe some other ideas exists ???
You can include your HTML stuff in a separate document and include it:
<xsl:copy-of select="document('path-to-my-doc')"/>
You can also apply templates on this document, but this is
another story
[1] ;=)
Eric
[1] http://www.xml.com/pub/a/2000/07/26/xslt/xsltstyle.html
--
---------------------------------------------------------------
---------
Eric van der Vlist Dyomedea
http://dyomedea.com
http://xmlfr.org http://4xt.org
http://ducotede.com
---------------------------------------------------------------
---------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list