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

Re: [xsl] reading a large XML file using document()


Subject: Re: [xsl] reading a large XML file using document()
From: a kusa <akusa8@xxxxxxxxx>
Date: Mon, 4 Jan 2010 13:41:55 -0600

I think my for-each loop was causing the problems. I fixed the code
and now its fine. Sorry for the confusion. And thanks for all your
input.

On Mon, Jan 4, 2010 at 11:11 AM, David Carlisle <davidc@xxxxxxxxx> wrote:
>
>
>> But this XML file has 36000 lines of data that I have to read.
>
> do you have evidence that that is actually a problem? I regularly load
> files with more lines than that. there may be various ways to make
> things faster, use a faster xslt engine, a faster machine or an xml
> database for example, but 36000 lines doesn't seem many, and without any
> more context hard to suggest anything specific.
>
> unicode.xml available from
> http://www.w3.org/2003/entities/2007xml/
>
> has nearly 114000 lines of xml and the xslt transforms in that directory
> used to generate documents and entity files, and xslt 2 character maps
> for example, just run with saxon from the command line with no special
> caching or compilation at all. It's more than fast enough for the job,
> but I'm not trying to dynamically regenerate the entire collection every
> second (or even every week).
>
>
> David


Current Thread
Keywords