[
Lists Home |
Date Index |
Thread Index
]
AndrewWatt2000@aol.com writes:
> In a message dated 28/10/2002 20:22:23 GMT Standard Time, dareo@microsoft.com
> writes:
>
>
> > What does a documentation element add to XSLT that XML comments cannot
> > provide?
>
> A documentation element, if properly used, would assist automatically
> generating documentation using XSLT as can now be done for large SVG or XSD
> Schema files.
You could write a trivial preprocessor that removed elements in a
specific namespace and their descendents but left its input otherwise
unmodified. That would take care of your commenting-out requirement,
too.
The implementation can be in XSLT or SAX filters. You can use use it
with any other vocabularies that don't define a documentation element.
Ari.
|