Re: [xsl] Retriving attribute value using variable.

Subject: Re: [xsl] Retriving attribute value using variable.
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 22 Aug 2005 07:11:05 +0100
>>>>> "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.
-- 
Colin Adams
Preston Lancashire

Current Thread