Re: [xsl] xsl:result-document usage

Subject: Re: [xsl] xsl:result-document usage
From: a kusa <akusa8@xxxxxxxxx>
Date: Tue, 3 Nov 2009 08:16:48 -0600
Thank you!

On Tue, Nov 3, 2009 at 3:12 AM, Andrew Welch <andrew.j.welch@xxxxxxxxx>
wrote:
> 2009/11/2 a kusa <akusa8@xxxxxxxxx>:
>> Hi
>>
>> I am not very clear with the xsl:result-document usage in xslt 2.0.
>> Basically, here is what I want to do.
>>
>> I have an xml file to which I apply my trasnformation style sheet. In
>> my transformation, I calculate what the document number for this input
>> file must be. Now when I run the transformation my  output file must
>> be {document number}.xml.
>>
>> Can I achieve this through xsl:result-document?
>
> yep:
>
> <xsl:template match="/">
>  <xsl:result-document href="{$filename}">
>  ....
>
>
> --
> Andrew Welch
> http://andrewjwelch.com
> Kernow: http://kernowforsaxon.sf.net/

Current Thread