|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Searching in Sub-children from an Array
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
|
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
|






