xsl-list
[Top] [All Lists]

Re: Selecting a particular attribute

2003-07-12 09:18:23
 
Rajith

You almost had it!... try @*[position()=2]

Cheers
W Boyd Taylor 
Boyd.at.pnl.gov
509-372-4703 
- --- rajith r <ajth_r(_at_)hotmail(_dot_)com> wrote:
Hi all

How do I select a particular attribute based on
position.

For example

<row vcEmpId="2003" vcEmpName="Test" vcSal="9515"/>

I want to select the second attribute and i dont
want to use @vcEmpName, but 
i want to do some thing like this @[position()=2].

Thanks & Regards
Rajith


_________________________________________________________________
NRIs ahoy! Want to send money home? 

http://server1.msn.co.in/msnleads/citibankrca/citibankrca2.asp
Do it in a 
jiffy!


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


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



<Prev in Thread] Current Thread [Next in Thread>