Re: One stylesheet, multiple output files. How?

Subject: Re: One stylesheet, multiple output files. How?
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 07 Apr 2000 22:32:03 -0400
At 00/04/07 19:33 -0400, Jonathan Asbell wrote:
If I have an xml file(or many combined by the document function) how do I
out put to several files?  The idea is that the xsl acts as a batch
processor and the result is several files.

How can this be done?

I have a working example of how to do so (using an XT extension) in the annex of the free download of our book "Practical Transformation Using XSLT and XPath" available off our web site.


Essentially, one uses:

  <xt:document href="---filename---">
    <!--contents of file-->
  </xt:document>

I hope this helps.

................... Ken

--
G. Ken Holman                    mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.             http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999   (Fax:-0995)
Web site: XSL/XML/DSSSL/SGML services, training, libraries, products.
Practical Transformation Using XSLT and XPath      ISBN 1-894049-04-7
Next instructor-led training:    2000-05-02,2000-05-11/12,2000-05-15,
-                                    2000-06-12,2000-06-13,2001-01-27


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread