Surprisingly, neither XSLT v1.0 nor XSLT v2.0 have any built-in conversion support (well, not for the scenarios represented in this category anyway).
It is possible to download XSLT libraries which can do this sort of conversion (as
mentioned in the notes below each functoid), but the XSLT is not pretty, and I’m not
convinced about performance.
So C# is generally your only option here.
For each functoid I’ve shown:
- Whether XSLT or C# is emitted
- Whether an XSLT equivalent exists
- The XSLT or C# emitted by the functoid
- Where C# is emitted, the equivalent XSLT to achieve the same functionality (in both
XSLT v1.0 and v2.0)
Functoids covered in this category:
| ASCII to Character | Octal |
| Character to ASCII | Common Code |
| Hexadecimal |
The other posts in this series are (links will become active as the posts become active):
Understanding
the BizTalk Mapper: Part 1 – IntroductionUnderstanding
the BizTalk Mapper: Part 2 – Functoids Overview
Understanding
the BizTalk Mapper: Part 3 – String Functoids
Understanding
the BizTalk Mapper: Part 4 – Mathematical Functoids
Understanding
the BizTalk Mapper: Part 5 – Logical Functoids
Understanding
the BizTalk Mapper: Part 6 – Date/Time Functoids
Understanding the BizTalk Mapper: Part 7 – Conversion Functoids
Understanding
the BizTalk Mapper: Part 8 – Scientific Functoids
Understanding
the BizTalk Mapper: Part 9 – Cumulative Functoids
Understanding
the BizTalk Mapper: Part 10 – Database Functoids
Understanding
the BizTalk Mapper: Part 11 – Advanced Functoids
Understanding
the BizTalk Mapper: Part 12 – Performance and Maintainability
Download the complete series as a single Microsoft
Word document (1.2MB) or Adobe
PDF document (620kb).
