Creates XML output for the actual object. Object is created with the following structure:
<object name="lcname"> <property1/> <property2/> </object>
o.CreateObjectXML(loObject, lcName, lnIndent)
lcName
The name of the object (<object name = "lcName">)
lnIndent
Indentation level in tabs.