Subject: Re: [xsl] Appending to existing file From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Tue, 17 Jul 2007 16:54:56 +0200 |
According to the spec, you're not allowed to execute two xsl:result-document instructions using the same URI. This is because of the theory that everything in XSLT is done in an undefined order, perhaps even in parallel.
However, there's nothing that stops you writing to different URIs and then capturing the output and sending it all to the same file. In the Saxon API you can set an OutputURIResolver, and it's this that determines where the data ends up. There's nothing to stop you for example writing to URIs file:///c:/temp.xml#1, file:///c:/temp.xml#2 and so on, and having all the data end up in c:/temp.xml.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Appending to existing fil, Michael Kay | Thread | RE: [xsl] Appending to existing fil, Michael Kay |
RE: [xsl] Appending to existing fil, Michael Kay | Date | RE: [xsl] Appending to existing fil, Michael Kay |
Month |