Subject:Stylus chokes on large files Author:Bob Caverly Date:29 Mar 2000 11:43 AM
I have just installed a demo copy of Stylus and tried to open one of my XML files. The DTD is relatively simple and small but the XML file is roughly 8Mb. I am running NT Server 4 on a PIII 500Mhz w/ 512Mb ram and after more than 20 minutes (of 99% CPU usage!) it was still "opening" my file! Since this is the smallest XML file I have to deal with I need to know if I am wasting my time with this tool or is there something I am doing wrong?
Subject:Stylus chokes on large files Author:Eirik Eikeberg Date:03 Apr 2000 11:19 AM
On 3/29/00 11:43:16 AM, bcaverly wrote:
>I have just installed a demo
>copy of Stylus and tried to
>open one of my XML files. The
>DTD is relatively simple and
>small but the XML file is
>roughly 8Mb. I am running NT
>Server 4 on a PIII 500Mhz w/
>512Mb ram and after more than
>20 minutes (of 99% CPU usage!)
>it was still "opening" my
>file! Since this is the
>smallest XML file I have to
>deal with I need to know if I
>am wasting my time with this
>tool or is there something I
>am doing wrong?
>
>Bob Caverly
>FedBid.Com
I have encountered the same problem, but my xml i sonly 3.8 MB. Other editors open this file easily, and verify that its a well formatted xml-file. What shall we do
Subject:Stylus chokes on large files Author:(Deleted User) Date:03 Apr 2000 11:34 AM
The slow part is applying the default stylesheet to such a large file. The next dot release has significant optimizations in this area, but we still don't suggest writing a stylesheet against huge files. If you absolutely can't trim the file, you can try loading it along with a stylesheet that does not process the whole tree, or one that uses for-each and value-of rather than apply-templates.