Subject: Re[2]: xsl/xslt coding standard
From: Bernd Gauweiler <bernd@xxxxxxxxxxxxx>
Date: Thu, 15 Aug 2002 08:28:18 +0100
|
MB> I add frequent comments to explain why I'm doing whatever I'm doing.
I made it a habit starting each and every template body with
<xsl:comment> ... </xsl:comment>, and that comment states the name of
the template (or the "match" phrase, whichever applicable).
I find this an enormous help when wading through the generated output
(where the heck did that come from?), and a good tag to search for when
investigating transformation results.
Bernd
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|