node indexing in a select statement

Subject: node indexing in a select statement
From: Yazil_Santoyo@xxxxxxxxxx
Date: Mon, 21 Aug 2000 15:18:57 -0400

Hi!

I have an XML document of the form

<Details>
     <param/>
     <param2/>...
</Details>

from which I'm trying to get a specific param from a specific instance of
<Details>.  I've been trying to do it like :

               <xsl:variable name="Param"><xsl:value-of
select="//Details($ID)/Param2"/></xsl:variable>

( Where ID is a variable defined in the xsl code ) but it doesn't work...  it
seems like XSL doesn't like the indexing (ie. (x) ) inside the select
statement...  Would anyone know how I can achieve
this?

I would really appreciate any help...

Thanks

Yazil



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread