This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: xslt and bitwise operations
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] RE: xslt and bitwise operations
- From: "Hahn, Kimberly" <Kim dot Hahn at enform dot com>
- Date: Wed, 10 Jan 2001 17:26:52 -0600
- Reply-To: xsl-list at lists dot mulberrytech dot com
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') > 0) and
contains(name(),'Bid')">
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list