|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl/xslt coding standard
Jeni Tennison wrote:
Mike Brown wrote:I add frequent comments to explain why I'm doing whatever I'm doing.
For example: <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://xsltsl.org/xsl/documentation/1.0" exclude-result-prefixes="doc" version="1.0"> <doc:book xmlns="">
<bookinfo>
<title>XSLT Standard Library</title></bookinfo> <para>Everything in here is DocBook doco</para> </doc:book> </xsl:stylesheet> There is specific support for documenting templates (parameters, return results, etc). The library comes with stylesheets to extract the documentation and turn that into HTML. One possibility that came to mind, though, was being able to specify one or more documentation-element namespaces for adding documentation to the stylesheet. So something like: If exclude-result-prefixes works OK, why introduce something new? Cheers, Steve Ball -- Steve Ball | XSLT Standard Library | Training & Seminars Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development Steve.Ball@xxxxxxxxx +---------------------------+--------------------- Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








