[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Processing milestoned XML leads to many preceding:: calls and horrible performance


Subject: Re: [xsl] Processing milestoned XML leads to many preceding:: calls and horrible performance
From: Matěj Cepl <mcepl@xxxxxxxxxx>
Date: Tue, 21 Feb 2012 11:31:57 +0100

On 21.2.2012 10:58, Emmanuel BC)guC) wrote:
This is probably not the answer to the question, but looking at the
source it seems the<vers>  elements are numbered, starting at one at
each new<kap>  (looked at all 50 kap in
http://mcepl.fedorapeople.org/tmp/zdroje/11_Gn.xml).

So, wouldn't this work:

<xsl:variable name="curPos" select="@n"/>

D'oh!b" Thank you very very much ... generating of the book Genesis went from around hour to 21 sec ;)


Thank you

MatDj

--
http://www.ceplovi.cz/matej/, Jabber: mcepl<at>ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

Our lives are spectacles of powerlessness.
    -- Richard Rohr


Current Thread