public void SetAttr(AttrPair ap) { SetAttr(ap.AttrType, ap.Value); }
public void ChangeAttr(AttrPair ap) { SetAttr(ap.AttrType, _attrs[ap.AttrType] + ap.Value); }
private static void WriteElementFull(XmlTextWriter xw, string sElt, AttrPair[] rgVals) { StartElement(xw, sElt); if (rgVals != null) { foreach (AttrPair ap in rgVals) WriteAttributeString(xw, ap.sAttr, ap.sValue); } EndElement(xw); }