xsl-list
[Top] [All Lists]

Re: Retriving attribute value using variable.

2005-08-21 23:11:05
"Arul" == Arulraj  <p_arulraj(_at_)yahoo(_dot_)com> 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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--