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]
Other format: [Raw text]

xsl:if @attribute + xsl:variable not working


thanks Alessio for your solution but the problem is a little bit more
complex cause
I need to define sevelar elements (or variables or attributes) at the same
time
    bgcolor of a <td> element
    color of a <font> element
    src og an <img> element

this is why I tried doing it this way

xsl:for-each select
    xsl:if test=condition
        define variable1
        define variable2
        define variable3
    /xsl:if

xsl:value-of  variable1
...
xsl:value-of  variable2
...
xsl:value-of  variable3

/xsl:for each

thanks again
ciao



 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]