title: Strange behavior with xsl:result-document from within Altova XML with Saxon
body: <p>my input file:</p>
  
  <pre><code>&lt;folders&gt;
      &lt;folder name="a" level="1" metadataFile="LVM20metadata.tsv"&gt;
          &lt;subfolder name="a/er" level="2" filter="no" /&gt;
          &lt;subfolder name="a/ir" level="2" filter="yes" /&gt;
          &lt;subfolder name="a/ar" level="2" filter="no" /&gt;
          &lt;subfolder name="a/or" level="2" filter="yes" /&gt;
      &lt;/folder&gt;
      &lt;folder name="b" level="1" metadataFile="LVM21metadata.tsv"&gt;
          &lt;subfolder name="b/er" level="2" filter="no" /&gt;
          &lt;subfolder name="b/ir" level="2" filter="yes" /&gt;
          &lt;subfolder name="b/ar" level="2" filter="no" /&gt;
          &lt;subfolder name="b/or" level="2" filter="yes" /&gt;
      &lt;/folder&gt;
  &lt;/folders&gt;
  </code></pre>
  
  <p>my stylesheet:</p>
  
  <pre><code>&lt;xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2005/xpath-functions " exclude-result-prefixes="fn xs"&gt;
  
      &lt;xsl:template match="/"&gt;
  
          &lt;xsl:apply-templates/&gt;
  
  
      &lt;/xsl:template&gt;
  
  &lt;xsl:template match="folders"&gt;
  &lt;xsl:apply-templates/&gt;
  &lt;/xsl:template&gt; 
  
  &lt;xsl:template match="folder"&gt;
  &lt;xsl:result-document method="xml" standalone="yes" href="{@name}.xml"&gt;
  &lt;hello&gt;&lt;/hello&gt;
  &lt;/xsl:result-document&gt;
  &lt;/xsl:template&gt;
  
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>It doesn't create the two result-documents. Why is that? (using saxon9he)</p>
  
  <p>Shouldn't this create two XML documents with the names a.xml and b.xml?</p>