xsl-list
[Top] [All Lists]

Re: [xsl] Dump name and value of all input parameters to an output file

2015-09-10 06:17:11
I was asking for a way to not having to to call them by name,
again, one by one, in the template that generates the file.

it comes to the same thing. If you declare then as individual named parameters
you can only access them by name.

At least from the commandline. Rather than having to split a string a
cleaner interface would
be to declare the parameter to take a sequence but you can't set the
sequence from the commandline
only from java or similar api (I think).

You could of course put the parameters in a document
<params>
<param name="FOO" value="2"/>
....
</params>

then you can pass that as a document parameter on the commandline and
just iterate through
$params/params/param
in the usual way without having to list all the possible values.

David
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>