xsl-list
[Top] [All Lists]

Re: [xsl] Suggestions for naming files based on starting node?

2008-04-16 14:09:23


This works quite well, but as you'd expect the overhead is  
ridiculous.

<xsl:number/> is designed for doing this kind of counting and many
sytems optimise its use, caching the last calculated number and not
requiring a document traversal each time.

I always avoid using generate-id for any kind of filename of ID used for
linking, the values can be highly unstable as documents are regenerated.

David

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--