Subject: Re: [xsl] question on EXSLT data partitioning From: Martin Honnen <Martin.Honnen@xxxxxx> Date: Wed, 20 Oct 2010 15:32:05 +0200 |
Fisrt sorry for my english, litlle out of practice
Second, for this data volume , it would be nice to use key, isn't it ? You cannot use a variable for modulo but that accelerate processing
<xsl:key name="part" match="Entity" use="(position() - (position() mod 1000)) div 1000 "> [...] <xsl:for-each select="Entity[position() mod 1000 = 0]"> <arguments> <xsl:apply-templates select ="key('part',position() div 1000) "> </arguments> </xsl:for-each>
[...]
I can't test (and make always error with modulo and other...) but that's the scheme
Martin Honnen http://msmvps.com/blogs/martin_honnen/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] question on EXSLT data pa, Erwan AMOUREUX | Thread | Re: [xsl] question on EXSLT data pa, Erwan AMOUREUX |
Re: [xsl] question on EXSLT data pa, Erwan AMOUREUX | Date | Re: [xsl] question on EXSLT data pa, Erwan AMOUREUX |
Month |