Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - bitwise & operation in xsl [Thread Next] Re: bitwise & operation in xslTo: NULL Date: 5/9/2006 3:42:00 AM * biswaranjan.rath wrote in microsoft.public.xsl: >Can I test something like > ><xsl:if test="(@access & 1) = 1"> ></xsl:if> > >Does xsl support bitwise operation like |, &, ^ etc. XPath 1.0 does not (and XSLT 1.0 depends on XPath 1.0 for such operations). Here you could use the mod operator to achieve the same effect. See http://www.w3.org/TR/xpath for the XPath 1.0 specification. -- Björn Höhrmann · mailto:bjoern@h... · http://bjoern.hoehrmann.de Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
