Allows to perform a node name (tag) checking using XML 1.0 Namespace rules. This function must be used instead of NODE_CMP_NAME if your application must support XML 1.0 namespaces. The idea is that you declares the namespace that you will recognize using a macro definition at some place in your headers, as follows: #define YOUR_NS "http://yourdomain.com/somepath/yourapplication"
Previous namespace must be unique. This is crucial to avoid tag clashing. Now, you use this namespace identifier and the local name of your tag to check a particular node to have a particular name as follows:
if (axl_ns_node_cmp (node, YOUR_NS, "table")) { // found table node inside your namespace } It is required to call first to axl_ns_doc_validate in order to make this function to properly work.
|