[Home] [By Thread] [By Date] [Recent Entries]


AndrewWatt2000@a... writes:

> In a message dated 28/10/2002 20:22:23 GMT Standard Time, dareo@m... 
> 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.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member