xsl-list
[Top] [All Lists]

RE: [Illegal?] setting xsl:variable inside xsl:if code block

2004-12-02 02:01:00
 

It's the 2nd case :) I was trying to conditionally set the 
variable and then
save it for later use outside of the block. Oh well, as long 
as I know why.

The way to do this is

<xsl:variable>
  <xsl:if>
    ...
  </xsl:if>
</xsl:variable>

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>