Say I have a very simple XML with an empty tag \'B\':
foo bar
This works fine with C#'s XslCompiledTransform class with .Net 2.0, but may very well fail almost anywhere else. Do not use unless you are programmatically doing the transofrm yourself; it is not portable at all.
XslCompiledTransform