namespaces [xpath]
For each node matching given xpath lists all namespaces that are valid in its scope in the form of xmlns:prefix="uri" declarations. If no xpath is given, lists namespaces in the scope of the current node.