This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

node indexing in a select statement




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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]