Pike v8.1 release 6

Method Parser.XML.NSTree.NSNode()->get_ns_attributes()


Method get_ns_attributes

mapping(string:string) get_ns_attributes(string namespace)

Description

Returns the attributes in this node that is declared in the provided namespace.


Method get_ns_attributes

mapping(string:mapping(string:string)) get_ns_attributes()

Description

Returns all the attributes in all namespaces that is associated with this node.

Note

The returned mapping is the same as the one in the node, so destructive changes will affect the node.