1
0
Fork 0

Comments preceding stylesheet declaration no longer processed

The original intent of processing this was to try to generate useful
documentation for any source.  Now, this project is moving more toward
expecting that the user make use of its literate features.
master
Mike Gerwitz 2015-04-17 14:06:12 -04:00
parent 36c9e09625
commit 30daa3c1d9
1 changed files with 4 additions and 5 deletions

View File

@ -34,14 +34,13 @@
<!--
Entry point
Comments that precede the stylesheet definition will also be
processed, since these are commonly used to describe the stylesheet
as a whole.
Any comments preceding the root node will not be output; it is
assumed that a license/copyright header will be placed here, or text
describing the stylesheet.
-->
<template match="xsl:stylesheet|xsl:transform">
<apply-templates mode="xt:doc-gen"
select="preceding-sibling::comment()
|node()" />
select="node()" />
</template>