The DomDocument class / xml.DomDocument methods |
Forces namespace declaration to an XML Element DomNode for a DomDocument object.
declareNamespace( node xml.DomNode, alias STRING, ns STRING )
Forces namespace declaration to an XML Element DomNode for this DomDocument object ; node is the XML Element DomNode that carries the namespace definition; alias is the alias of the namespace to declare, or NULL to declare the default namespace; ns is the URI of the namespace to declare (can only be NULL if alias is NULL).
In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).