[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Combining Multiple XML Documents

Subject: Re: Combining Multiple XML Documents
From: John Greek <John.Greek@xxxxxxxxx>
Date: Wed, 28 Jun 2000 09:29:31 -0700
combining multiple xml
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.