Ovanes Markarian wrote:
David,
just wanted to let you know: in my case replacing the space character with tab
character reduced 3
unneded space characters per indent and resulted in a file size of 426 MBs
instead
of 890 MBs. I
did not measure the speed, but you can imagin, that the app had to write half as
much character
which result in a huge performance gain. From now on it is up to you if you will
build this in to
the lib. I would really appreciate this step :)
I don't object to integrating your changes, but we'll have to figure out
how to expose it in the APIs. For example, should there be a Xalan-specific
attribute for xsl:output to specify the "indenting" character? Also, it's
a bit trickier to add this feature to the new serializers, so I'll need to
do some investigation.
If you want to move forward with this, please prepare a patch, create a
Jira issue, and attach the patch. That's the first step in the process anyway.
Thanks!
Dave