RE: [xml-dev] Fast text output from SAX?

From
Michael Kay <>
To
'Andrew Welch' <>, 'Martin Bravenboer' <>
Date
2004-04-13T13:06:03Z
ID
<20040413130542.YJXG1202.mta04-svc.ntlworld.com@Turtle>
Thread
RE: [xml-dev] Fast text output from SAX?
> This just uses an inbuilt 'identity transform' stylesheet, 
> that roughly
> outputs a copy of it's input.  For this to happen it needs to build a
> tree of the source, so the performance benefits of using SAX are
> effectively lost at that point.

You're making assumptions about the implementation.

I don't know what Xalan does, but Saxon's implementation of the JAXP
identity transform does not build a tree representation of the source
document.

Michael Kay