xsl-list
[Top] [All Lists]

Re: coping with huge xml-saxon

2003-06-16 09:26:30

My XML is a business critical file and it needs to be converted to various
forms like html text or RTF files.

The question though is does the generation of each file need random
access to all of the input data, all of the time?

Very often big files are of the form

<wrapper>
 <data id="x1">....</data>
 <data id="x2">....</data>
 ..... 1000000 more data items ....
</warpper>

and what you really need to do is transform each of those data elements
separately to produce 1000002 html files.

If so, you can pre-process your input file so your XSLT engine sees
1000002 small chunks corresponding to each data element separatey 
rather than one big input doc.

If however your transformation is such that  production of each part
of the output really does require the whole of the input information,
then your problem is harder, and your options more limited.

David




________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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