I am trying to create a table using Xml/Xslt, where some of the cells are empty, but IE formats the empty cell as invisible. Here is an example of a cell object that is a pretty simplified version of what I’m dealing with:
public class Cell
{
public value;
public Cell(string value){ this.value = value; }
}
So if I have a bunch of cells in a table, I’m setting value =   when a given cell is empty or null, so that displaying that cell in IE will show an empty cell rather than no cell at all.
The problem is that the string   is always translated to   when I serialize the object.
How do I fix this?
You should use the actual character (
"\u0160").The XML serializer should correctly entitize that.