XML technologies / XPath / XPath 2.0: language reference / XPath: expressions and evaluation context

(Excerpt from "XSLT 2.0 & XPath 2.0" by Frank Bongers, chapter 4.)

The context in which an XPath expression is evaluated matters. The result depends partly on settings of the runtime environment or stylesheet and the other documents involved, known as the static context. The static context remains constant during processing. The content currently being processed, to which an XPath expression refers, also matters. Because this context is reassessed throughout stylesheet processing, it is called the dynamic context.

   

   

back to top