initialize


Description:

public void initialize (string local_name)

Convenient function to initialize, at construction time, a GXml.Element using given local name. If GXml.Element.initialize_with_namespace has been called in any base class, this method just change element node's name and keeps previous namespace and prefix.

No DomDocument is set by default, if this is a top level element in a document, you can call DomNode.owner_document to set one if not set already.

Any instance properties of type GXml.Element or Collection should be initialized using GXml.Object.set_instance_property