![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >xsl-list Archive Home >Recent entries >Thread Prev - Re: [xsl] Searching in Sub-children from an Array [Thread Next] Re: [xsl] Searching in Sub-children from an ArrayTo: Date: 12/4/2006 5:19:00 PM 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 *[@ID eq
$ids[1]] instead of key('ids',$ids[1],.)[1]. But only the OP can know
if it is or not.
Regards,
--drkm
___________________________________________________________________________
Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions !
Profitez des connaissances, des opinions et des expiriences des internautes sur Yahoo! Questions/Riponses
http://fr.answers.yahoo.com | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
