The only thing wrong with this is that Java doesn’t like relative URIs of the form file:foo.html. If you remove the “file:” prefix, and ensure that there is a base output URI (typically by using the –o option on the command line) then this example works fine.

 

Michael Kay

 


From: saxon-help-admin@lists.sourceforge.net [mailto:saxon-help-admin@lists.sourceforge.net] On Behalf Of Roger Kovack
Sent: 11 March 2004 01:24
To: saxon-help@lists.sourceforge.net
Subject: [saxon] Nesting xsl:result-document

 

I assume this is a silly idea and not expected to work:

<xsl:result-document href="file:foo.html">
    <html>foo</html>
    <xsl:result-document href="file:bar.xml">
       <doc>bar</doc>
    </xsl:result-document>
</xsl:result-document>

At least it doesn't work and doesn't report exceptions. Sometimes my OutputURIResolver reports funny things.

Saxon 7.8.

Thanks
Roger Kovack

------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ saxon-help mailing list saxon-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/saxon-help