Subject: RE: Re: The Perils of Sudden Type-Safety in XPath 2.0
From: "bryan" <bry@xxxxxxxxxx>
Date: Thu, 20 Feb 2003 09:54:50 +0100
|
> One of the critiques about XSLT 1.0 is that it's too verbose.
Verbosity which obfuscates meaning is a problem. Often such verbosity is
the result of poor understanding of the language, from what I've seen,
writing an incredibly long sequence of nested xsl:choose or stuff like
this
<xsl:if test="myelement > 0">
<xsl:apply-templates select="myelement"/>
</xsl:if>
which believe me I've seen.
On the other hand I don't have much problem with verbosity that
clarifies meaning. A good example might be long xpaths where an explicit
reference to the ancestor axis etc. might clarify what in fact is going
on.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|