internal override void ParseXml(XmlElement xml)
{
base.ParseXml(xml);
if (xml.HasAttribute("TemplateType"))
Enum.TryParse<IfcPropertySetTemplateTypeEnum>(xml.Attributes["TemplateType"].Value,true, out mTemplateType);
if (xml.HasAttribute("ApplicableEntity"))
ApplicableEntity = xml.Attributes["ApplicableEntity"].Value;
foreach (XmlNode child in xml.ChildNodes)
{
string name = child.Name;
if (string.Compare(name, "HasPropertyTemplates") == 0)
HasPropertyTemplates = mDatabase.ParseXMLList<IfcPropertyTemplate>(child);
}
}