An element declaration in a DTD.
Ejemplo n.º 1
0
 /// <summary>
 /// Attribute objects are reused during parsing to reduce memory allocations, 
 /// hence the Reset method. 
 /// </summary>
 public void Reset(string name, XmlNodeType nt, string value) {           
     this.Value = value;
     this.Name = name;
     this.NodeType = nt;
     this.Space = XmlSpace.None;
     this.XmlLang= null;
     this.IsEmpty = true;
     this.attributes.Count = 0;
     this.DtdType = null;
 }
Ejemplo n.º 2
0
 public void Reset(string name, XmlNodeType nt, string value)
 {
     Value = value;
     Name = name;
     NodeType = nt;
     Space = XmlSpace.None;
     XmlLang= null;
     IsEmpty = true;
     _attcount = 0;
     DtdType = null;
 }