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: xslt and bitwise operations




Does anyone know if XSLT supports bitwise calculations (ex. '2 and 34'
evaluates to 2 or True)?  From what I have been able to tell 'and' and 'or'
expressions do not apply bitwise operations.  Are there other functions
available that do this?

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">


<xsl:when test="((@ChangeBitMask and '2') &gt; 0) and
contains(name(),'Bid')">





 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]