internal void RegisterElementById(DomElement element)
{
if (registerElementsById == null) this.registerElementsById = new Dictionary<string, DomElement>();
//replace exisitng if exists ***
registerElementsById[element.AttrElementId] = element;
}
public DomElement GetElementById(string elementId)