BizTalk Utilities CV ,   Jobs ,   Code library
 
Home Page


Add/Edit your code items
Search the code library
Browse for the code library


XSLT
Using XSLT to produce SVG (1)
Using XSLT to produce SVG (2)
Performance Tuning XSLT - Part 1
Performance Tuning XSLT - Part 2
Performance Tuning XSLT - Part 3
Performance Tuning XSLT - Part 4
Using XSLT to produce SVG (3)
XPath as parameters
Table with more than one column
Create an N-Column Table from XML node-set
Finding ""the corresponding node"" in a parallel subtree
Get the last item from a delimited list
Limitation to Muenchian method.
Find the number of tokens or words in a string
Randomization of node-sets or node-lists
XPath Analyzer
Finding the Maximum Date
World Cup 2002 fever hits XSLT!!
Using XSLT for DHTML Menus
RSS / RDF Newsfeed Reader


 
 

<< XQuery.NET and XML >>


By Martin Rowlinson (aka Marrow)
First Posted 03/07/2002
Times viewed 245

Hex and Binary Conversions in XSLT - with Boolean math functions


This post contains attachments
v20020307064151.zip 

Summary An XSLT library for converting decimal/hex/binary - with some basic Boolean math (AND,OR and XOR) functions.

The XSLT template library below shows some examples of converting between number bases (binary, hexadecimal and decimal).  Also inluded are some Boolean math functions for performing AND, OR and XOR on values.

The code in the XML section is actually XSLT - which is used to demonstrate the functions within the library (this test XSLT can be run against any input XML).

This library is taken from the extensive samples that come with Xselerator.

Cheers - Marrow

 

Additional information

Further additional information


Rate this article on a scale of 1 to 10 (0 votes, average 0)

Your vote :  

<< XQuery.NET and XML >>





Leave a comment for this article
Your name
Your email (optional)
Your comment
Optional: Upload an attachment
Enter the code shown:

 
 

    Email TopXML