This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Output redirection in LotusXSL/xalan: using a variable?


David_Marston@lotus.com writes:
 > 
 > Wolfgang May asks:
 > >Is it possible to use an xsl:variable for output redirection with
 > >LotusXSL/xalan?
 > >...
 > >  <redirect:write select="{$output_file_name}">
 > 
 > Try <redirect:write file="$output_file_name">
 > (No braces, file instead of select)

THX.

The solution is ...

  <redirect:write file="{$output_file_name}">;

* use the file attribute,
* with braces (otherwise the file is called $output_file_name)

Wolfgang


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]