public XmlNode CreateParentNode(string objectlink) { XmlAttribute xa = this.Document.CreateAttribute("href", "xlink"); xa.Value = objectlink; this.ParentNode .Attributes .Append (xa); return this.ParentNode ; }