Subject: Re: Combining Multiple XML Documents From: John Greek <John.Greek@xxxxxxxxx> Date: Wed, 28 Jun 2000 09:29:31 -0700 |
Yes, but, can you have a xsl stylesheet applied to one of these "entitied" files and produce another xml file that consists of the original files together (xml + xml) --[xsl]--> xml : xml file #1 ----------- <author> <name>... <publisher>... </author> xml file #2 ----------- <plant> <scientificname> <location> </plant> combined xml document (authors-and-plants.xml) --------------------- <!DOCTYPE apage [ <!ENTITY banner SYSTEM "authors.xml"> <!ENTITY content SYSTEM "plants.xml"> ]> xsl file -------- <... code that I'm curious about .......> xsl output from combined-xml-document ------------------------------------- <author> <name>... <publisher>... </author> <plant> <scientificname> <location> </plant> --------------------------------------------------------- This xsl code would overwrite authors-and-plants.xml but not the original xml documents, authors.xml and plants.xml. Thanks, John -----Original Message----- From: Robert Koberg [mailto:rob@xxxxxxxxxx] Sent: Tuesday, June 27, 2000 6:12 PM To: xsl-list@xxxxxxxxxxxxxxxx Subject: Re: Combining Multiple XML Documents you want to use ENTITYs: <?xml version="1.0"?> <!DOCTYPE apage [ <!ENTITY banner SYSTEM "sections/banner/b_xx_0001.xml"> <!ENTITY content SYSTEM "sections/content/c_xx_0001.xml"> <!ENTITY sidenav SYSTEM "sections/sidenav/sn_xx_0001.xml"> ]> <?xml-stylesheet href="shell.xsl" type="text/xsl"?> <?cocoon-process type="xslt"?> <apage> &banner; &sidenav; &content; </apage> ----- Original Message ----- From: Scott Okupski <Scott.Okupski@xxxxxxxxxxxxxxxxxxxxx> To: <XSL-List@xxxxxxxxxxxxxxxx> Sent: Tuesday, June 27, 2000 1:20 PM Subject: Combining Multiple XML Documents > Can anyone suggest strategies for incrementally building an XML document > using multiple XML documents as input? I'm happy to hear any ideas using XSL > or DOM API. I'm working with Apache Xerces and Xalan java products. Much > Thanks. > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Combining Multiple XML Document, Robert Koberg | Thread | Re: Combining Multiple XML Document, Jeni Tennison |
Precompiling XSL, Jon Wynacht | Date | Re: How do I count number of nodes?, alex chang |
Month |