internal override void ParseXml(XmlElement xml)
{
base.ParseXml(xml);
if (xml.HasAttribute("LongName"))
LongName = xml.Attributes["LongName"].Value;
foreach (XmlNode child in xml.ChildNodes)
{
string name = child.Name;
if (string.Compare(name, "ContainsElements") == 0)
{
foreach (XmlNode node in child.ChildNodes)
{
IfcRelContainedInSpatialStructure rcss = mDatabase.ParseXml<IfcRelContainedInSpatialStructure>(node as XmlElement);
if (rcss != null)
rcss.RelatingStructure = this;
}
}
}
}