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

Re: sub-documents with their own stylesheets

Subject: Re: sub-documents with their own stylesheets
From: Tom Myers <tommy@xxxxxxxxxxxxxx>
Date: Wed, 19 Jul 2000 13:13:19 -0400
Re: sub-documents with their own stylesheets
Ken MacLeod <ken@xxxxxxxxxxxxxxxx> writes:

 > The question is: can I use XSL alone to take two XML docs, each with
 > their own stylesheet, and merge them in to one output document.

Umm, is it okay to bring in the web server here? You have A.xml and A.xsl,
B.xml and B.xsl, where presumably the xml files vary A1.xml, A2.xml,....
A93.xml... and similarly for B, and the xsl files are manually generated and
fixed, yes? If so, then you can configure your server...Tomcat, let's say,
so that A.xsl and B.xsl are servlets; with xt that's using XSLServlet and
I'm sure it's easy with Saxon &c too, and for testing purposes
     http://localhost:8080/myWebApp/A/A93.xml
generates the "A" output that you want, while
     http://localhost:8080/myWebApp/B/B93.xml
generates the "B" output.
Fine; your top-level stylesheet is C.xsl, and refers to each of these via
"document".

(Am I missing/forgetting something here? I usually do.)

Tom Myers tommy@xxxxxxxxxxxxxx, tom.myers@xxxxxxxxxxxxxxxx


 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.