Subject: Re: Managing Generation of Output Filenames
From: "W. Eliot Kimber" <eliot@xxxxxxxxxx>
Date: Thu, 07 Feb 2002 16:26:28 -0600
|
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@xxxxxxxxxx
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
|