|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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








