WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIDOMNSXPathExpression

IID:ce600ca8-e98a-4419-ad61-2f6d0cb0ecc8
Inherits From:nsISupports

Interface for Mozilla specific XPathExpression functions.


Methods

nsISupports evaluateWithContext ( nsIDOMNode contextNode , PRUint32 contextPosition , PRUint32 contextSize , PRUint16 type , nsISupports result )

nsISupports evaluateWithContext ( nsIDOMNode contextNode , PRUint32 contextPosition , PRUint32 contextSize , PRUint16 type , nsISupports result )

Evaluate the expression with the given context. Similar to nsIDOMXPathExpression::evaluate(), except that this takes the context position and size too.

Arguments:
contextNode: The context node
contextPosition: The context position
contextSize: The context size
type: The needed result type
result: The result

Reference documentation is generated from Mozilla's source.