This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Managing Generation of Output Filenames


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]