This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: appendig to multiple output files
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 25 Jan 2002 19:56:22 -0000
- Subject: RE: [xsl] appendig to multiple output files
- Keywords: xsltDEV
- Reply-to: xsl-list at lists dot mulberrytech dot com
> ><xsl:template match="output">
> ><xsl:param name="input" select="document(@file)/*"/>
> ><xsl:document href="@file">
> ><xsl:copy-of select="$input"/>
> ><xsl:apply-templates/>
> ></xsl:document>
> ></xsl:template>
This reminds me that we haven't said anything in XSLT 2.0 about what happens
if you try to read and write the same URL within a single transformation. We
will have to say it's an error, but whether we say the processor has to
detect it and report it is another question.
(It's related to another problem with multiple output files: we need to say
something about whether or not output files might have been created when the
transformation fails.)
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list