This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re[2]: xsl/xslt coding standard
- From: Bernd Gauweiler <bernd at gauweiler dot net>
- To: Mike Brown <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 15 Aug 2002 08:28:18 +0100
- Subject: Re[2]: [xsl] xsl/xslt coding standard
- References: <200208150651.g7F6pO4N032624@chilled.skew.org>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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