RE: [xsl] Re:

Subject: RE: [xsl] Re:
From: aruniima.chakrabarti@xxxxxxxxxxxxxxxxxx
Date: Fri, 2 Aug 2002 16:41:20 +0530
Thanks David for the answer... I did figure out the same thing, only thing
it cost me time... but as u c I am very new XML-XSL so still in the learning
process... That's why my initial question was phrased like that as I felt I
was writing the XPath wrong...
Anyways, Thanks to all of u David, Nilesh & Marcin who all send their
help...
 
Regards,
aruniima

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: Friday, August 02, 2002 4:06 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Re:


> I am actually trying to read the Attribute
> value for a attribute name ="xyz" which I access dynamically...

I don't know how anyone could have guessed that from your initial
question.

**        <xsl:value-of select="//Row/attribute::*[name()='$col_name']"/>
**

'$col_name' is the string $col_name. You don't want a string you want a
reference to the col_name variable. remove the '  '

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

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

This message contains privileged and confidential information and is
intended only for the individual named. If you are not the intended
recepient you should not disseminate, distribute, store, print, copy or
deliver this message. Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and immediately delete this e-mail from
your system.


E-mail transmission cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. The sender therefore does not accept
liability for any errors or omissions in the contents of this message which
arise as a result of e-mail transmission.  If verification is required
please request a hard-copy version.


--------------------------------------------------------------------------

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


Current Thread