internal override void SetXML(XmlElement xml, BaseClassIfc host, HashSet<int> processed)
{
base.SetXML(xml, host, processed);
XmlElement element = xml.OwnerDocument.CreateElement("ShapeRepresentations");
xml.AppendChild(element);
foreach (IfcShapeModel s in ShapeRepresentations)
element.AppendChild(s.GetXML(xml.OwnerDocument, "", this, processed));
setAttribute(xml, "Name", Name);
setAttribute(xml, "Description", Description);
xml.SetAttribute("ProductDefinitional", ProductDefinitional.ToString().ToLower());
if (mPartOfProductDefinitionShape > 0)
xml.AppendChild(mDatabase[mPartOfProductDefinitionShape].GetXML(xml.OwnerDocument, "PartOfProductDefinitionShape", this, processed));
}