public override string GetAttribute(string name) { if (GetCurrentNode().NodeType == XmlNodeType.Element) { GedcomElement e = GetCurrentNode() as GedcomElement; return(e.GetAttribute(name)); } return(null); }
public override string GetAttribute(int i) { if (GetCurrentNode().NodeType == XmlNodeType.Element) { GedcomElement e = GetCurrentNode() as GedcomElement; return(e.GetAttribute(i)); } else { return(null); } }