Lists Home |
Date Index |
At 2002-10-28 15:16 -0500, AndrewWatt2000@aol.com wrote:
>In a message dated 27/10/2002 11:49:32 GMT Standard Time,
>>XSLT files are maintainable with the same level of ease as densely
>>written perl. Developers asked to modify them routinely rewrite them
>>because they can't figure out what the last guy was doing.
>The problem might, at least partly, be attributed to the absence of a
>documentation element in XSLT 1.0.
On the contrary, I use top-level elements from non-XSLT namespaces for
documentation of top-level XSLT constructs. I mention this on page 139 of
the 10th edition of our electronic book, and it happens to be quoted in the
Amazon excerpt (sample page 18 of 44) of the paper rendition of the 9th
edition of our book.
I concede there are no documentation constructs to use *inside* a template,
but already being able to add structured comments for templates is useful.
I hope this helps.
G. Ken Holman mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/x/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
ISBN 0-13-065196-6 Definitive XSLT and XPath
ISBN 0-13-140374-5 Definitive XSL-FO
ISBN 1-894049-08-X Practical Transformation Using XSLT and XPath
ISBN 1-894049-10-1 Practical Formatting Using XSL-FO
Next public training: 2002-12-08,2003-02-03,06,03-03,06