This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: external parameters like DOS Command
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: external parameters like DOS Command
- From: Joshua Allen <joshuaa at microsoft dot com>
- Date: Sun, 16 Jul 2000 19:36:22 -0700
- Reply-To: xsl-list at mulberrytech dot com
Saxon allows you to pass parameters on the command line.
ex:
java com.icl.saxon.StyleSheet data\books.xml styles\books.xsl
top-author=Danzig >output.html
Joshua Allen
Microsoft E-Business West Region
"No challenge can withstand the assault of sustained thinking" - Voltaire
> -----Original Message-----
> From: Jean-Claude Tarby [mailto:Jean-Claude.Tarby@cmis.csiro.au]
> Sent: Sunday, July 16, 2000 6:07 PM
> To: xsl-list@mulberrytech.com
> Subject: external parameters like DOS Command
>
>
> Hi.
>
> Question: Is it possible to use a stylesheet like a DOS command?
> Explanation: I use Saxon to transform XML into HTML, but I
> want to produce
> HTML regarding parameters that I want to send to the
> stylesheet like a DOS
> command. How to do that ? Because the attributes I use in the
> stylesheet
> may be
> combined, I cannot write a different stylesheet for each combination.
> That's why I want to send parameters and use them into the
> stylesheet with
> a <xsl:choose>
>
> Who has a solution ? or an idea?
>
> Cheers.
>
> J.C.
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list