XPathJS Examples

Simple (with no namespaces)
Shows basic initialization and usage of XPathJS.
Simple (with a default namespace)
Shows usage of XPathJS with a default namespace.
Simple (with multiple namespaces)
Shows usage of XPathJS with multiple namespaces.
Simple (without appending to global space)
Shows initialization and usage of XPathJS without binding XPathJS function to global variables.
Custom namespace resolver via node (createNSResolver)
Using built-in document.createNSResolver for generating a namespace resolver based on a specific node.

More examples coming...