This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Advise on xsl usage producing very complex html


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]