Sign in Join
FPDoc Onlineexperiment

Laz2_XPath unit

An implementation of the XML Path Language (XPath) for Free Pascal.

laz2_xpath.pas provides an implementation of the XML Path Language (XPath) for the Lazarus IDE. It is based on the xpath.pp unit from the Free Component Library (FCL).

Copyright (c) 2000 - 2003 by Areca Systems GmbH / Sebastian Guenther, sg@freepascal.org

This implementation is based on the following specification:

XML Path Language (XPath) Version 1.0, W3C Recommendation, 16 November 1999

laz2_xpath.pas is part of the LazUtils package.

Classes and records

EXPathEvaluationErrorclassException raised when an error occurs during XPath expression evaluation.
TStepclassImplements an XPath Location Step.
TXPathBinaryNodeclassThe base class for XPath expressions which represent Binary operations.
TXPathBooleanOpNodeclassRepresents a Boolean expression in XPath syntax.
TXPathBooleanVariableclassRepresents an XPath Boolean variable.
TXPathCompareNodeclassRepresents an XPath Comparison expression.
TXPathConstantNodeclassRepresents an XPath literal expression.
TXPathContextclassRepresents the Context for an XPath expression.
TXPathEnvironmentclassProvides access to functions and variables available in the XPath environment.
TXPathExpressionclassEvaluates an XPath expression using the specified scanner and resolver.
TXPathExprNodeclassDefines the base class used to evaluate XPath expressions.
TXPathFilterNodeclassImplements an XPath Filter expression.
TXPathFunctionNodeclassRepresents an XPath Function expression.
TXPathMathOpNodeclassRepresents a Math Operation in an XPath expression.
TXPathNegationNodeclassRepresents an XPath Negation expression.
TXPathNodeSetVariableclassRepresents an XPath Node Set variable.
TXPathNSResolverclassImplements a Namespace resolver for the XPath environment.
TXPathNumberVariableclassRepresents an XPath Number variable.
TXPathScannerclassImplements a lexical scanner and parser using XPath syntax and semantics.
TXPathStringVariableclassRepresents an XPath String variable.
TXPathUnionNodeclassRepresents a Union Expression node.
TXPathVariableclassBase class used to represent an XPath variables and results.
TXPathVariableNodeclassRepresents an XPath variable expression.

Procedures and functions

EvaluateXPathExpressionfunctionEvaluates an XPath expression using the specified context node and optional namespace resolver.
EvaluationErrorprocedureRaises an exception during expression evaluation with the specified error message.

Types

TAxisenumerationIdentifies an XPath Axis used in an XPath expression.
TNodeSettypeImplements an XPath Node Set.
TNodeTestTypeenumerationRepresents XPath Node Test types.
TXPathBooleanOpenumerationRepresents Boolean operators in an XPath expression.
TXPathCompareOpenumerationIdentifies Comparison operators used in an XPath expression.
TXPathFunctionprocedure typeImplements an XPath function.
TXPathKeywordenumerationRepresents keywords used in XPath syntax.
TXPathMathOpenumerationIdentifies the binary Math Operators used in XPath expressions.
TXPathNodeArraytypeArray used to store TXPathExprNode entries.
TXPathTokenenumerationIdentifies token types used in XPath expressions.
TXPathVarListtypeList used to store XPath variables in the XPath environment.

Uses

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.