[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'Laz2_XPath' (#lazutils)

TXPathKeyword

Represents keywords used in XPath syntax.

Declaration

Source position: laz2_xpath.pas line 66

type TXPathKeyword = (

  xkNone,

  

No axis specified.

  xkAncestor,

  

Ancestor axis (ancestor::).

  xkAncestorOrSelf,

  

Ancestor or Self axis (ancestor-or-self::).

  xkAttribute,

  

Attribute axis (attribute::).

  xkChild,

  

Child axis (child::).

  xkDescendant,

  

Descendant axis (descendant::).

  xkDescendantOrSelf,

  

Descendant or Self axis (descendant-or-self::).

  xkFollowing,

  

Following axis (following::).

  xkFollowingSibling,

  

Following Sibling axis (following-sibling::).

  xkNamespace,

  

Namespace axis (namespace::).

  xkParent,

  

Parent axis (parent::).

  xkPreceding,

  

Preceding axis (preceding::).

  xkPrecedingSibling,

  

Preceding Sibling axis (preceding-sibling::).

  xkSelf,

  

Self axis (self::).

  xkComment,

  

Node test for comment: comment().

  xkText,

  

Node test for text: text().

  xkProcessingInstruction,

  

Node test for preceding instruction: processing-instruction().

  xkNode,

  

Node test for a node: node().

  xkAnd,

  

And operator.

  xkOr,

  

Or operator.

  xkDiv,

  

Div operator.

  xkMod,

  

Mod operator.

  xkLast,

  

Node set function last().

  xkPosition,

  

Node set function position().

  xkCount,

  

Node set function Count(node-set).

  xkId,

  

Unique ID function: id("foo").

  xkLocalName,

  

Node set function local-name(node-set).

  xkNamespaceUri,

  

Node set function namespace-uri(node-set).

  xkName,

  

Node set function name(node-set).

  xkString,

  

String function string(object).

  xkConcat,

  

String function concat(string, string).

  xkStartsWith,

  

String function starts-with(string, string).

  xkContains,

  

String function contains(string, string).

  xkSubstringBefore,

  

String function substring-before(string, string).

  xkSubstringAfter,

  

String function substring-after(string, string).

  xkSubstring,

  

String function substring(string, number, number).

  xkStringLength,

  

String function string-length(string).

  xkNormalizeSpace,

  

String function normalize-space(string).

  xkTranslate,

  

String function translate(string, string, string).

  xkBoolean,

  

Boolean function boolean(object).

  xkNot,

  

Boolean function not(boolean).

  xkTrue,

  

Boolean function true().

  xkFalse,

  

Boolean function false().

  xkLang,

  

Boolean function lang(string).

  xkNumber,

  

Number function number(object).

  xkSum,

  

Number function sum(node-set).

  xkFloor,

  

Number function floor(number).

  xkCeiling,

  

Number function ceiling(number).

  xkRound

  

Number function round(number).

);

Description

TXPathKeyword is an enumeration type that represents the axis names, node tests, operators, and standard functions available in XPath syntax.

See also

TXPathScanner

  

Implements a lexical scanner and parser using XPath syntax and semantics.

TXPathToken

  

Identifies token types used in XPath expressions.


Version 4.0 Generated 2025-05-03 Home