|
Subject: Re: [xsl] xsl:result-document usage From: Andrew Welch <andrew.j.welch@xxxxxxxxx> Date: Tue, 3 Nov 2009 09:12:45 +0000 |
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 |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] xsl:result-document usage, Mukul Gandhi | Thread | Re: [xsl] xsl:result-document usage, a kusa |
| Re: [xsl] Benefits of using xsl:key, Jesper Tverskov | Date | Re: [xsl] Benefits of using xsl:key, Andrew Welch |
| Month |