Lists Home |
Date Index |
> In a message dated 28/10/2002 20:22:23 GMT Standard Time, email@example.com
> > 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,
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.