RE: [xsl] XSL Tidy program?

Subject: RE: [xsl] XSL Tidy program?
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Sat, 28 Apr 2001 12:21:21 +0100
>    So what are the XSLT equivalents of C "if (a = b) ..." that
> people should try to spot before postng to this list and that could
> be embedded in tools ? Pointers appreciated if this resource
> already exists :-)

I'd suggest a couple:

<xsl:sort> where the sort expression is not dependent on the context node,
for example
<xsl:sort select="$param"/>

<xsl:for-each select="item">
   <xsl:value-of select="item"/>

Trouble is, of course, it might just be correct.

Mike Kay

 XSL-List info and archive:

Current Thread