This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re[2]: xsl/xslt coding standard


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]