This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Managing Generation of Output Filenames
- From: "W. Eliot Kimber" <eliot at isogen dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 07 Feb 2002 16:26:28 -0600
- Subject: Re: [xsl] Managing Generation of Output Filenames
- Organization: DataChannel, Inc
- References: <3C629B8C.41623254@isogen.com> <200202071617.QAA14799@penguin.nag.co.uk>
- Reply-to: xsl-list at lists dot mulberrytech dot com
David Carlisle wrote:
>
> > I'd prefer to use
> > XSL-defined mechanisms if at all possible.
>
> well of course you've already strayed a bit by using xsl:document but anyway...
>
> Can't your template just make the filename, and then for xsl:document
> you do
>
> <xsl:variable name="foo">
> <xsl:call-template name="work-out-filename"/>
> </xsl:variable>
> <xsl:document href="{$foo}">
I didn't know I could do this. That's the thing I was missing.
Thanks!
Eliot
--
W. Eliot Kimber, eliot@isogen.com
Consultant, ISOGEN International
1016 La Posada Dr., Suite 240
Austin, TX 78752 Phone: 512.656.4139
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list