private void OnDeleteRow(DataRow row, XmlBoundElement rowElement)
{
// IgnoreXmlEvents s/b on since we are manipulating the XML tree and we not want this to reflect in ROM view.
Debug.Assert(_ignoreXmlEvents == true);
// Special case when rowElem is document element: we create a new docElem, move the current one as a child of
// the new created docElem, then process as if the docElem is not a rowElem
if (rowElement == DocumentElement)
DemoteDocumentElement();
PromoteInnerRegions(rowElement);
rowElement.ParentNode.RemoveChild(rowElement);
}