[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Whitespaces against efficency

Subject: Whitespaces against efficency
From: "Tangi Vass" <tangivass@xxxxxxxxxxxxxx>
Date: Fri, 7 Apr 2000 18:47:39 +0200
efficency
Hi,

I'm in the profiling stage of a web server based on XML (with Sun's parser)
/ XSLT (with XT).

Parsings and processings beeing very time consuming (between 95 and 99% of
the total time), we have developped a sophisticated cache that handles
dependencies (between DOM and files, processing result and processing
inputs, etc...), but that's not enough !

Using Intuitive's OptimizeIt, I saw that the next() method of
com.jclark.xsl.dom.SiblingNodeIterator is very time consuming.
I guess that's because my DOM trees have a lot of unuseful (except for
indenting purposes) whitespaces text nodes.

How is it possible to remove them?
I tried the org.w3c.dom.Element.normalize() and
com.sun.xml.tree.ElementEx.trimToSize() methods but the result is not
tremendous!

Any suggestion?

Tangi


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.