xml.DomNode.lookupPrefix
Looks up the prefix associated to a namespace URI, starting from the specified node.
Syntax
lookupPrefix(
ns STRING )
RETURNS STRING
- ns defines the namespace URI to look for.
Usage
Use this method to look up the prefix associated with a namespace URI, starting from this node,
where ns is the namespace URI to look for. Returns the prefix associated with
this namespace URI, or 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).