|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: counting and displaying with xsl?
> The following has worked for me before: > > <xsl:if expr="(childNumber(this) % 5) == 1"> > Presumably in MS 1998 XSL: neither "expr=" nor "childNumber()" nor "this" nor "%" nor "==" are valid in XSLT. In XSLT the equivalent is <xsl:if test="position() mod 5 = 1"> A wonderful example of how dissimilar these two languages are: five differences in one line! Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








