xsl-list
[Top] [All Lists]

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

2012-02-21 04:28:56
On 21.2.2012 10:58, Emmanuel Bégué 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!™ Thank you very very much ... generating of the book Genesis went from around hour to 21 sec ;)

Thank you

Matěj

--
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


--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>