I can see all over how to add comments that get put on the resulting xml
<xsl:comment> but not much (or it is a little confusing) on how to just
comment your XSLT script.
tshad wrote:
> How do I add comments to my XSLT sheet?
>
> I can see all over how to add comments that get put on the resulting xml
> <xsl:comment> but not much (or it is a little confusing) on how to just
> comment your XSLT script.
An XSLT stylesheet is an XML document thus if you want to put in
comments then use the XML comment syntax
<!-- comment text -->
e.g.
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
"Martin Honnen" <mahotrash@yahoo.de> wrote in message
news:Of73O75MJHA.5692@TK2MSFTNGP04.phx.gbl...
> tshad wrote:
>> How do I add comments to my XSLT sheet?
>>
>> I can see all over how to add comments that get put on the resulting xml
>> <xsl:comment> but not much (or it is a little confusing) on how to just
>> comment your XSLT script.
>
> An XSLT stylesheet is an XML document thus if you want to put in comments
> then use the XML comment syntax
> <!-- comment text -->
> e.g.
> <xsl:stylesheet
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
>
> <!-- author: foo; version: 1 -->
>
> </xsl:stylesheet>