internal override void SetXML(XmlElement xml, BaseClassIfc host, HashSet<int> processed)
{
base.SetXML(xml, host, processed);
xml.AppendChild(Material.GetXML(xml.OwnerDocument, "Material", this, processed));
xml.SetAttribute("LayerThickness", mLayerThickness.ToString());
xml.SetAttribute("IsVentilated", mIsVentilated.ToString().ToLower());
if (mDatabase.Release != ReleaseVersion.IFC2x3)
{
setAttribute(xml, "Name", Name);
setAttribute(xml, "Description", Description);
setAttribute(xml, "Category", Category);
if (!double.IsNaN(mPriority))
xml.SetAttribute("Priority", mPriority.ToString());
}
}