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

Re: xsl/xslt coding standard

Subject: Re: xsl/xslt coding standard
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Fri, 16 Aug 2002 08:23:52 +0100
xslt coding standards
Hi Steve,

> For the XSLT Standard Library, which is all about establishing
> engineering standards for XSLT stylesheets, I adapted Norm Walsh's
> DocBook-in-XSLT approach. It seems to work just fine, and I haven't
> observed any problems requiring xsl:fallback.

I think that's probably because you put all the documentation at the
top level of the stylesheet. If you tried to include it within a
template then you would either get the documentation added to the
result or get an error (if you asserted the documentation namespace
was a namespace for extension elements).

> If exclude-result-prefixes works OK, why introduce something new?

exclude-result-prefixes doesn't work OK, or at least it doesn't work
OK if (a) you want to put documentation *within* templates and (b) you
don't want to have to nest it inside an instruction that guarantees it
won't be processed [such as an xsl:if test="false()" or an
xsl:for-each select="/.."].

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.