David Carlisle wrote:
<xsl:template mode="step" match="*">
<xsl:param name="ids"/>
do something with this node then
<xsl:apply-templates mode="step" select="key('ids',$ids[1],.)[1]">
<xsl:with-param name="ids" select="$ids[position()!=1]"/>
</xsl:apply-templates>
</xsl:template>
If I remember well, the OP want to look only in the children of the
current step. If he does, maybe it could be better to use *[(_at_)ID eq
$ids[1]] instead of key('ids',$ids[1],.)[1]. But only the OP can know
if it is or not.
Regards,
--drkm
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
--~------------------------------------------------------------------
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>
--~--