public virtual XmlWriter InsertBefore() { throw new NotSupportedException(); }
public virtual XmlWriter PrependChild() { XPathNavigator nav = Clone(); if (nav.MoveToFirstChild()) { return(nav.InsertBefore()); } else { return(AppendChild()); } }