public XmlElement GetXml()
{
XmlDocument creationXmlDocument;
XmlElement retVal;
creationXmlDocument = new XmlDocument();
retVal = creationXmlDocument.CreateElement("ds", "Object", SignedXml.XmlDsigNamespaceUrl);
if (this.id != null && this.id != "")
{
retVal.SetAttribute("Id", this.id);
}
if (this.qualifyingProperties != null && this.qualifyingProperties.HasChanged())
{
retVal.AppendChild(creationXmlDocument.ImportNode(this.qualifyingProperties.GetXml(), true));
}
return retVal;
}
#endregion