public virtual void writexmlcollectionUnwrapped(GXXMLWriter oWriter, string itemName, string itemNamespace, bool includeState) { foreach (T obj in this) { string xml = obj.ToXml(false, includeState, itemName, itemNamespace); xml = GxUserType.UpdateNodeDefaultNamespace(xml, "", true, null); oWriter.WriteRawText(xml); } }