mike(_at_)saxonica(_dot_)com wrote:
In Saxon, just use xsl:for-each select="unparsed-text-lines(...)".
Costello, Roger L. costello(_at_)mitre(_dot_)org wrote:
> I want to stream-process it. I want to count the number of lines.
How would one count the lines without keeping the whole lines in memory,
would
<xsl:value-of select="count(unparsed-text-lines('foo.txt'))"/>
do that?
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--