This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Applying different stylesheets to the same document.
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Applying different stylesheets to the same document.
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 27 Nov 2000 10:43:32 -0000
- Reply-To: xsl-list at mulberrytech dot com
> Could you please tell me how to invoke different stylesheets
> for the same XML document
It depends on the API of your chosen XSLT processor. Most have an API with
the following logical structure:
CompiledStylesheet s = Processor.compile(stylesheetinput);
Output o = s.transform(sourceinput);
For the details, consult the documentation for the particular processor.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list