|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Combining Multiple XML Documents
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) ----> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








