Subject: Re: [xsl] Comment nodes in XSLT files. From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 12 Apr 2004 13:58:04 -0400 |
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?
<xsl:template match="foo"> <!-- my comment here explains what the heck is going on --> <xsl:apply-templates/> </xsl:template>
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.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Comment nodes in XSLT fil, M. David Peterson | Thread | RE: [xsl] Comment nodes in XSLT fil, Michael Kay |
Fwd: Re: Fw: [xsl] Is it possible t, Ian Lang | Date | [xsl] Newbie question: Incrementing, Durston, Andrew (AGR |
Month |