Bitwise Tests in XSLT

Using a combination of floor, mod and div, we can implement bitwise tests in XSLT. I happened to need to do that today. Thanks to the power of Google, and the Mulberry XSLT forums, the following snippet implements XSLT test for 000010


     Bitwise test for 00010

     TRUE

About this entry