in XSLT - MSXML3, MSXML4

· Read in about 1 min · (66 words) ·

I had this problem last week - needed to generate . My method was to use an entity declaration

<?xml version="1.0"?>

 <!DOCTYPE xsl:stylesheet [

    <!ENTITY nbsp "&#160;">   <!-- white space in XSL -->

    ]>

Sadly, this doesn’t work with MSXML3 or MSXML4. The generated HTML has a space ' ' character rather than

After some googling, found the answer and a workaround on the xsl list