Hi,

Using oXygen 10.2, this stylesheet runs as expected with Saxon B
9.1.0.6 (the output is <foo/>)

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
      xmlns:xs="http://www.w3.org/2001/XMLSchema";
      exclude-result-prefixes="xs"
      version="2.0">

<xsl:template match="/">
    <xsl:result-document>
        <foo/>
    </xsl:result-document>
</xsl:template>
</xsl:stylesheet>

However if you change the transform engine to Saxon SA, it fails with:
 "Cannot write to a URI that has already been read: ....."

cheers
-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to