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

Re: Retriving attribute value using variable.

Subject: Re: Retriving attribute value using variable.
From: Arulraj <p_arulraj@xxxxxxxxx>
Date: Sun, 21 Aug 2005 23:50:36 -0700 (PDT)
i. arulraj email
--- Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx> wrote:

> >>>>> "Arul" == Arulraj  <p_arulraj@xxxxxxxxx>
> writes:
> 
>     Arul> Hi, thanks for reply.  My requirement is
> different. I have a
>     Arul> some string in searchAttribute like
> attribute1 or attribute2
>     Arul> or any string.
> 
>     Arul> I have to use that string as attribute
> selection in XSL.
> 
>     Arul> <xsl:variable
>     Arul>
> name="searchAttribute">attribute1</xsl:variable>
> 
>     Arul> (or)
> 
>     Arul> <xsl:variable
>     Arul>
> name="searchAttribute">attribute2</xsl:variable>
> 
>     Arul> Here searchAttribute value comes as a
> string.
> 
> But where is it coming from?
> 
> You showed it to us in the same stylesheet that you
> wanted to
> change. So change the xsl:variable.

sorry, this String value comes from the another XML
file.
<xsl:variable name="searchAttribute"><xsl:value-of
select="$FormatTmp/OODesign/format/@value"/></xsl:variable>


The result value will be "attribute1" etc.

Regards,
Arul

> -- 
> Colin Adams
> Preston Lancashire
> 
> 



		
__________________________________ 
Yahoo! Mail for Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 

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.