On 11/04/2008, Rick Genter <[EMAIL PROTECTED]> wrote: > > I seem to have found just the opposite? > > line="-o filename" works fine, but as was pointed out, > > if I want to use value I have to use two arg elements? > > > Your example has 2 arguments: '-o' and 'filename'. I recommend reading > the documentation for the command line processor you are using for how > it processes command lines and what the definition of an 'argument' is.
Saxon XSLT processor. -o filename is the parameter. I'd always thought of it as one param. Name (-o) value (filename) Ant seems to view it differently. > > 'line=' won't work if your filename has an embedded space. 'line=' does > simple parsing, splitting the arguments on space boundaries. 'line=-o > C:\Documents and Settings\user\My Documents\filename.out' generates 5 > arguments: > > -o > C:\Documents > and > Settings\user\My > Doucments\filename.out > > which is almost certainly *NOT* what was wanted. Not for saxon (http://saxonica.com) > > 'value=' explicitly specifies exactly one argument. Different strokes, different folks I guess. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]