[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Selecting a particular attribute

Subject: Re: Selecting a particular attribute
From: Mukul Gandhi <mukulw3@xxxxxxxxx>
Date: Fri, 11 Jul 2003 23:08:42 -0700 (PDT)
xslt selecting attributes
i think you cannot do that with XSLT. for XML files,
position of attributes is insignificant. for e.g.
<row vcEmpId="2003" vcEmpName="Test" vcSal="9515"/>
will be same as <row vcEmpName="Test" vcEmpId="2003"
vcSal="9515"/> as far as XML is concerned. 
if attribute names are known, whats the *difficulty*
in using attribute names?

Regards,
Mukul

--- rajith r <ajth_r@xxxxxxxxxxx> 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
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.