The method get_property_no_ns was added to Node and RoNode in line with this issue.
The method get_property returns the value of the first property with a given local name, regardless of namespace. This can lead to undesirable results when an element has multiple properties with the same local name. For example, calling it with "bar" on the node below returns "NS BAR" instead of "BAR".
The method
get_property_no_ns
was added toNode
andRoNode
in line with this issue.The method
get_property
returns the value of the first property with a given local name, regardless of namespace. This can lead to undesirable results when an element has multiple properties with the same local name. For example, calling it with "bar" on the node below returns "NS BAR" instead of "BAR".On the other hand, the method
get_property_no_ns
returns the value of the nonprefixed property.