This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XSL Tidy program?


>    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:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]