[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: xsl/xslt coding standard

Subject: Re: Re: xsl/xslt coding standard
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Fri, 16 Aug 2002 08:31:37 +0100
Re:  Re: xsl/xslt coding standard
Hi Conal,

> What about just using custom attributes rather than comment
> elements? It means your documentation is not arbitrarily structured,
> but it can at least have a structure that matches the stylesheet
> itself, without interfering too much with the output tree.

That's a reasonable idea, though you can't use it to add documentation
to literal result elements (without the documentation being added to
the element in the result).

I think I'd still find the ability to structure my comments useful,
though, mainly for indicating the meaning of particular words. For
example:

  <xsl:for-each select="blah-child[@type="$blah-type]">
    <xsl:doc>
      iterate over the <el>blah-child</el> whose <at>type</at> is the
      same as the <param>blah-type</param>
    </xsl:doc>
    ...
  </xsl:for-each>

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.