internal override void SetXML(XmlElement xml, BaseClassIfc host, HashSet<int> processed)
{
base.SetXML(xml, host, processed);
xml.AppendChild(ForLayerSet.GetXML(xml.OwnerDocument, "ForLayerSet", this, processed));
xml.SetAttribute("LayerSetDirection", mLayerSetDirection.ToString().ToLower());
xml.SetAttribute("DirectionSense", mDirectionSense.ToString().ToLower());
xml.SetAttribute("OffsetFromReferenceLine", mOffsetFromReferenceLine.ToString());
if (!double.IsNaN(mReferenceExtent) && mDatabase.Release != ReleaseVersion.IFC2x3)
xml.SetAttribute("ReferenceExtent", mReferenceExtent.ToString());
}