Good day to you all,

Here is what I am trying to do:
I am using an XSL transformation to change my input.xml in output.xml.
output.xml contains a set of rearranged tags from input.xml
One of the tag in input.xml is <id>value</id>
I would like the xsl to generate the output filename to be value.xml.

Basically:
Input.xml (contains tag <id>xxx</id>) => transformation.xsl => output.xml (output = xxx)

Thanks in advance for your help and advice

Thank you fpmurphy for your answer,

Allow me to insist...

Can this EXSLT function be used in my 1.0 xsl transformation?
if yes, how do I implement it?

If I go for 2.0 xsl:result-document, how exactly do I do that.

Thanks a lot for your help on this.

Can this EXSLT function be used in my 1.0 xsl transformation? if yes, how do I implement it?

Go to the URL that I included in my reply, read the documentation and follow the instructions therein.

If I go for 2.0 xsl:result-document, how exactly do I do that.

Use any XSLT 2.0 processor. A popular (and good) processor is the Saxon 8.X or 9.X processor (www.saxonica.com.)