This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: How can I add the <xsl:eval> within another tag?



Excellent! thanks Edwin. This is EXACTLY what I needed.
hope I can return the favor some day. 

Moazzam

-----Original Message-----
From: owner-xsl-list@mulberrytech.com
[mailto:owner-xsl-list@mulberrytech.com]On Behalf Of Edwin Glaser
Sent: Tuesday, April 11, 2000 2:44 PM
To: xsl-list@mulberrytech.com
Subject: Re: How can I add the <xsl:eval> within another tag?


You wrote:

I wanted to do this

> <xsl:if test="@city=[.'<xsl:eval>dummy()</xsl:eval>']">
> <xsl:value-of select="@state">
> </xsl:if>

Why don't you do this ?

<xsl:variable name="tmp">xsl:eval>dummy()</xsl:eval></xsl:variable>
<xsl:if test="@city=$tmp">

Just curios, edwin.

-- 
Edwin Glaser -- edwin@pannenleiter.de


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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]