xsl-list
[Top] [All Lists]

Re: [xsl] Are there any XSLT processors that can incrementally input the XML data?

2010-09-15 08:35:07
Some XSLT processors such as Saxon have streaming extensions.

When this becomes a recommendation, streaming will be part of the XSLT language:

http://www.w3.org/TR/2010/WD-xslt-21-20100511/#streaming


Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play





On Wed, Sep 15, 2010 at 6:08 AM, Costello, Roger L. 
<costello(_at_)mitre(_dot_)org> wrote:
Hi Folks,

I have a simple but large XML document containing almost 100 million bank 
withdrawals/deposits:

<transactions>
   <withdrawal>30</withdrawal>
   <deposit>40</deposit>
   <deposit>50</deposit>
   <withdrawal>20</withdrawal>
   <withdrawal>45</withdrawal>
   <deposit>80</deposit>
  ...
</transactions>

I want my XSLT program to start at the first transaction:

   <withdrawal>30</withdrawal>

and then sequentially process the following siblings.

I want the <withdrawal> and <deposit> elements to be input on demand.

Are there any XSLT processors that can incrementally input the XML data? That 
is, the XSLT processor inputs just the number of XML elements currently 
requested by the XSLT program, processes those elements, and then outputs the 
results? All this is done with little or no in-memory storage.

/Roger

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





--

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