#18 [xhtml]

Smallx - Large Document Example

This pipeline processes a large data file that is an XML document. Each 'training-scenario' element can be processed by XSLT but the whole document is too big to load into one in-memory tree. The output is a text data file that can be read by statistical software.

<p:pipe xmlns:p="urn:publicid:IDN+smallx.com:pipeline:1.0" name="scenario2text">

<!-- Limits the XSLT to the 'training-scenario' element -->
<p:subtree-view select="training-scenario">

<!-- Converts the scenario data to a text file for R -->
<p:xslt src="scenario2text-xt.xsl"/>

</p:subtree-view>

</p:pipe>