[xsl] Where does xalan redirect:write go to?!?

Subject: [xsl] Where does xalan redirect:write go to?!?
From: "Ruggier, Mario" <Mario.Ruggier@xxxxxxxxxxxxxxxx>
Date: Wed, 11 Jul 2001 16:27:08 +0200

i need to use the xalan redirect:write extension to create 
multiple file output. (I have used saxon:output, which works
as documented! But, for whatever reasons, I am reqiured to use 
xalan for this one). 

The "primary" file is written correctly, using the OutFileName 
command line parameter. However, all attempts to generate 
secondary output files, using redirect:write, produces no 
results, and no complaints either. 

I also tried to run the provided example, exactly as is, and it
aslo has the same results. The example I am referring to is at: 

I am running it, on W2000, with:
XalanTransform test.xml test.xsl out.xml

However, the file "foo.out" is nowhere to be seen.
For convenience, the input files added below.

Many thanks, mario

<?xml version="1.0"?> 
  <foo file="foo.out">
    Testing Redirect extension:
      <bar>A foo subelement text node</bar>
    Everything else


<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";

  <xsl:template match="/">
      Standard output:
  <xsl:template match="main">
  <xsl:template match="/doc/foo">
    <redirect:write select="@file">
  <xsl:template match="bar">


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

Current Thread