|
Home >Online Product Documentation >Table of Contents >Understanding XPath Processor Terms Understanding XPath Processor TermsTo use the context operators, it is important to understand the following terms: Axis
An axis specifies a list of nodes in relation to the context node. For example, the Context NodeA context node is the node the XPath processor is currently looking at. The context node changes as the XPath processor evaluates a query. If you pass a document to the XPath processor, the root node is the initial context node. If you pass a node to the XPath processor, the node that you pass is the initial context node. During evaluation of a query, the initial context node is also the current node. Context Node SetA context node set is a set of nodes that the XPath processor evaluates. Current NodeCurrent node is the node that the XPath processor is looking at when it begins evaluation of a query. In other words, the current node is the first context node that the XPath processor uses when it starts to execute the query. During evaluation of a query, the current node does not change. If you pass a document to the XPath processor, the root node is the current node. If you pass a node to the XPath processor, that node is the current node. Document ElementThe document element is the element in a document that contains all other elements. The document element is an immediate child of the root node. When you obtain the document element of a document, you obtain all marked-up text in that document. Filter
A filter in a query specifies a restriction on the set of nodes to be returned. For example, the filter in the following query restricts the result set to Location Path ExpressionA location path expression is an XPath expression. It has the following format: Location StepAn XPath expression consists of one or more location steps. A location step has the following format: Node Test
You apply a node test to a list of nodes. A node test returns nodes of a particular type or nodes with a particular name. For example, a node test might return all Root Node
Theroot node is the root of the tree. It does not occur anywhere else in the tree. The document element node for a document is a child of the root node. The root node also has as children processing instructions and |
XSV - The XML Schema Validator
XSV is the official reference implementation for the XML Schema language and Stylus Studio is the only XML IDE to provide seamless integration with XSV - the W3C XML Schema Validator. Download Stylus Studio and XSV today.
XSLT Mapper
Simplify XSLT mapping with the Stylus Studio XSLT Mapper - supports multiple data sources, round-trip engineering (synchronized editing views), XSLT function blocks, integrated XSLT preview and more.
XML Processing
Learn how to simplify XML Processing using Stylus Studio XML Pipeline, the easiest way to visually design and deploy virtually any XML processing tasks.
XQuery Talk
Join the XQuery Talk mailing list for a practical discussion about XQuery. It's a place to work together to learn a new language, talk about problem solutions, discuss engines and implementations, chat about the latest XQuery news and more.