You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Julien Vayssiere <Ju...@sophia.inria.fr> on 2000/12/05 13:15:03 UTC
Streaming and Xalan-2
Hi,
I tried Xalan-2 because of the "streaming" capabilities advertised, but
so far I haven't managed to see streaming working, it's always like it
reads the entire input file (whatever big the file is) and then outputs
the result. My input file is like
<foo>
<bar>some text...</bar>
<bar>some text...</bar>
<bar>some text...</bar>
<bar>some text...</bar>
</foo>
And the transformation applies to a single <bar>some text...</bar> node,
which I think should result in some streaming of the transformation:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:template match="foo">
<foo2>
<xsl:for-each select="bar">
<bar2>
<xsl:value-of select="."/>
</bar2>
</xsl:for-each>
</foo2>
</xsl:template>
</xsl:stylesheet>
Maybe could you make an example available on the web page that would
show how to get the streaming feature to work ? Or is there something
with the writing of the .xsl file that I should know ?
Thanks for your time,
Julien.
--
-------------------------------------------------------------------
Julien Vayssiere - Projet OASIS: joint project CNRS-UNSA-INRIA
http://www.inria.fr/oasis/Julien.Vayssiere/
Julien.Vayssiere@sophia.inria.fr | INRIA Sophia-Antipolis
Tel +33 4 92 38 75 54 | 2004, Route des Lucioles
Fax +33 4 92 38 76 44 | BP 93
Mobile +33 6 60 93 56 52 | FR-06902 Sophia-Antipolis Cedex
-------------------------------------------------------------------