Create an object from an XML element. Operates recursively on the
element and its children, whose instances which are added to the
instance created from the element. If the element has an "id"
attribute, make it available as a global variable with this name.
The name of this function must match the value of
org.openlaszlo.ic.CompilationEnvironment.VIEW_INSTANTIATION_FNAME.