JavaScript - createNSResolver() method

revision:


Category : document

Creates an XPathNSResolver which resolves namespaces with respect to the definitions in scope for a specified node.

Syntax :

        createNSResolver(node)
    

Parameters:

node : the node to be used as a context for namespace resolution.

Examples:

            
        

Practical examples

example:
code:
                    
                

example:
code:
                    
                

example:
code: