Beispiel #1
0
 public DmNode CreateAttribute(DmQName name)
 {
     if (_attributes == null)
         _attributes = new Dictionary<DmQName, DmNode>();
     DmNode node;
     if (_attributes.TryGetValue(name, out node))
         return node;
     node = new DmAttribute(name);
     node._parent = this;
     _attributes.Add(name, node);
     return node;
 }
Beispiel #2
0
 public override void Load(XdmReader reader)
 {
     _dm = reader.ReadAttributeInfo();
     _value = reader.ReadString();
 }