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; }
public override void Load(XdmReader reader) { _dm = reader.ReadAttributeInfo(); _value = reader.ReadString(); }