OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Documenting XSLT (Was: Note from the Troll)

[ 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.




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS