public override void WriteContentTo(XmlWriter w) {
// -- eventually will the fix. commented out waiting for finalizing on the issue.
foreach( XmlNode n in this ) {
n.WriteTo( w );
} //still use the old code to generate the output
/*
foreach( XmlNode n in this ) {
if ( n.NodeType != XmlNodeType.EntityReference )
n.WriteTo( w );
else
n.WriteContentTo( w );
}*/
}