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

RE: Comment nodes in XSLT files.

Subject: RE: Comment nodes in XSLT files.
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Mon, 12 Apr 2004 22:38:17 +0100
xslt remove comments
Do you have a performance problem?

If so, I doubt very much that removing comment nodes will help you solve it.
It might give you a 3% improvement, but if you have a problem, I doubt that
3% will make any difference.

And if you don't have a performance problem, why are you bothering?

Michael Kay

 

> -----Original Message-----
> From: Greg Alvord [mailto:Greg.Alvord@xxxxxxxxxxxxxxx] 
> Sent: 12 April 2004 16:08
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject:  Comment nodes in XSLT files.
> 
> Traditionally comments in Interpreted language files slows 
> things down.  It
> there any practical experience with the impact of comment 
> nodes in the XSLT
> files, or best practice guidance?
>  
> I would like to find the balance point between too much and 
> too little.  
>  
> We have also considered an XSLT comment scrubber between the 
> saved source
> and the published source.  It would be easy to build, but if 
> the runtime
> impact of leaving the comments in place is sufficiently small 
> why introduce
> all the other headaches?
>  
> I think the answer varies from one XSLT processor to another. 
>  My particular
> interest is in .NET ( don't flame me please) but I have an 
> interest in other
> processors as well.
>  
>  
> Greg Alvord

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.