Subject: Re: [xsl] Suggestions for naming files based on starting node? From: Chris von See <chris@xxxxxxxxxxxxx> Date: Wed, 16 Apr 2008 22:04:20 -0700 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Suggestions for naming fi, David Carlisle | Thread | Re: [xsl] Suggestions for naming fi, David Carlisle |
Re: [xsl] Suggestions for naming fi, David Carlisle | Date | Re: [xsl] Suggestions for naming fi, David Carlisle |
Month |