internal override void SetXML(XmlElement xml, BaseClassIfc host, HashSet <int> processed) { XmlElement placement = (mPlacement > 0 ? Placement.GetXML(xml.OwnerDocument, "Placement", this, processed) : null); base.SetXML(xml, host, processed); if (placement != null) { xml.AppendChild(placement); } if (mRepresentation > 0) { xml.AppendChild(Representation.GetXML(xml.OwnerDocument, "Representation", this, processed)); } }