February 12, 2008

Use the XSLT 2.0 Character-map Element to Replace Characters

Here’s an example of how to use XSLT 2.0’s new character-map element to replace a character (or group of characters) with another character (or group of characters) on the transformation runtime: &ltxsl:output use-character-maps=”delim_xslt” … /&gt…

Optimize the Performance of Your Internationalized Applications

More and more Windows applications are internationalized to take advantage of the global marketplace. However, multi-byte string handling functions may impact program’s performance and should not be used with single-byte character sets (SBCS). One workaround for this is to use a compile-time parameter and create two executables: one for a

Date Column/DataSet Bug Workaround

Maybe you’ve noticed that when a DataSet’s date columns are passed to a remote web server or web service whose time zone differs from that of the client, the date will be converted to the equivalent local time. This is sometimes not the date you intended. For example, suppose you’ve

C# 3.0 Syntax Additions—Design Guidelines

# 3.0 includes a few syntactical additions to the language. For the most part, Microsoft added these language additions to support Language Integrated Query (LINQ). These features include (but are not limited to) lambda expressions, extension methods, anonymous types, implicitly typed local variables, automatic properties, and object initializers. Most of