xsl-list
[Top] [All Lists]

Re: [xsl] How to mark every 5th output record.

2008-03-11 08:14:56
David Carlisle wrote:

often it doesn't need much of a change if you are doing

<xsl:appy-templates select="something"/>

to select a pile of them in parallel, instead do

<xsl:appy-templates select="(something)[1]">
  <xsl:with-param name="c" select="1"/>
</xsl:apply-templates?

  Well, that's the simplest form.  But if there are a lot of template
rules, that can quickly become tedious.  And if the walking is not the
natural XSLT walking (for instance two different select expressions
that apply the same template rules in different context) that can
become complex...

  Regards,

--drkm























      
_____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--