Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

redirecting XSLT output to multiple files

843834Aug 24 2009 — edited Aug 25 2009
Hi,

I am trying to redirect the output of the XSLT into multiple files using
<xsl:variable name="filename" select="concat(@id,'.xml')" />
<redirect:write select="$filename">
...
</redirect:write>
I dont want to hard-code the directory of the $filename in XSL, I want to set it or resolve it programatically in the java code.
Can you please tell me if this can be done in someway ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 22 2009
Added on Aug 24 2009
1 comment
165 views