Subject: Re: sub-documents with their own stylesheets From: Tom Myers <tommy@xxxxxxxxxxxxxx> Date: Wed, 19 Jul 2000 13:13:19 -0400 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: sub-documents with their own st, Ken MacLeod | Thread | RE: when and xsl:choose, Heather Lindsay |
XSL as a Programming Language, Iyer, Srinivasan (ML | Date | Re: XSL Table Styling, Mike Brown |
Month |