Subject: Re: [xsl] union vs. "or" vs. contains? From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 20 Oct 2004 14:37:08 -0400 |
Wendell Piez wrote:
Whatever I do, I want to keep processing completely controlled by the configuration file.
Maybe someone on this list who knows Ant better than I do (it's on my list!) can comment on how Ant (a Java build framework) could query a configuration file to determine which stylesheet to call when a job is invoked. A poor man's version of the same (though of course Ant is free) could use a batch file to run a transform on your config file, to create another batch file (in which the delegation could be managed), and then execute it. In other words, these things can be done.
I haven't followed this thread too closely but in ant you can use 'input' to allow the user to enter data at the command line. For example:
<input message="Enter an XSL file name:" addproperty="xsl.name"/>
<xslt in="source.xml" out="result.html" style="${xsl.name}"/>
<input message="Which format would you like?" addproperty="format"/>
<xslt in="source.xml" out="result.html" style="${format}.xsl"/>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] union vs. "or" vs. contai, Robert Koberg | Thread | Re: [xsl] union vs. "or" vs. contai, Robert Koberg |
Re: [xsl] writing text from bottom , J.Pietschmann | Date | [xsl] Grouping Adjacent Elements in, Joe Heidenreich |
Month |