Re: How do Comments affect Performance?

Subject: Re: How do Comments affect Performance?
From: Tony Graham <tgraham@xxxxxxxxxxxxxxxx>
Date: Tue, 26 Sep 2000 13:38:28 -0400 (EST)
At 26 Sep 2000 11:30 -0500, Paul Essex wrote:
 > Does anybody have any idea how much comments inside a stylesheet can affect
 > the speed of transformations?

Comments, processing instructions, and whitespace-only text nodes
(except inside xsl:text) are not included in the tree that the XSL
processor builds from the stylesheet.

Lots of comments could conceivably affect the startup time of your XSL
processor, but once the stylesheet has been read, neither comments in
your stylesheet nor an absence of comments in your stylesheet will
affect the subsequent transformation.

Regards,


Tony Graham
======================================================================
Tony Graham                            mailto:tgraham@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9632
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================



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


Current Thread