Re: [xep-support] Passing param values from command line

From: Nikolai Grigoriev (
Date: Thu Jan 30 2003 - 06:32:42 PST

  • Next message: Nikolai Grigoriev: "Re: [xep-support] Using entities for images in XEP"

    Hi Geurt,

    > I invoke XEP with a batchfile that uses the supplied transform.bat file:
    > C:\XEP\transform.bat -xml C:\XEP\Projects\MyProject\source\source.xml -xsl
    > C:\XEP\Projects\MyProject\Stylesheets\MyStylesheet.xsl -out
    > C:\XEP\Projects\ MyProject\PDF\MyResult.pdf -format PDF
    > Now I like to know how to change a stylesheet param by specifying
    > its value in the batchfile.

    You can specify transformation parameters directly on the command
    line, as a name=value pairs:

    transform.bat -xml source.xml
                   -xsl MyStylesheet.xsl
                   -out MyResult.pdf

    Note the quotes around parameters. They are required by Windows:
    without them, command processor splits argumemts by the '=' sign.

    Nikolai Grigoriev

    (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
    in the body of the message to from the address
    you are subscribed from.
    (*) By using the Service, you expressly agree to these Terms of Service

    This archive was generated by hypermail 2.1.5 : Thu Jan 30 2003 - 06:45:20 PST