[xsl] xsl:result-document usage

Subject: [xsl] xsl:result-document usage
From: a kusa <akusa8@xxxxxxxxx>
Date: Mon, 2 Nov 2009 15:59:26 -0600
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?
:

Current Thread