If I wish to call a java class with an array of parameters or a node-set
is it possible in any way?

a real example with novell utils class DxCommand:
<token-xpath expression="dxcommand:commandLine($Command)"/>

If a command line parameter includes spaces it goes wrong, the java
class splits it by spaces. Earlier versions accepted the use of exslt
node-set() but that seems to work no more.

One solution I worked out was to do it with ecmascript. Assemble the
commandline, use a delimiter and call the function -> ecmascript then
assembles the array and calls the java method with a real array. But it
would be much quicker if it could be done straight in the policy builder.