--- Colin Paul Adams <colin(_at_)colina(_dot_)demon(_dot_)co(_dot_)uk> wrote:
"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.
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
--~------------------------------------------------------------------
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>
--~--
__________________________________
Yahoo! Mail for Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
--~------------------------------------------------------------------
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>
--~--