|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Whitespaces against 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








