Sign in Join
FPDoc Onlineexperiment

TXPathKeyword enumeration

In unit Laz2_XPath

Represents keywords used in XPath syntax.

Declaration

pascal
TXPathKeyword = (xkNone,xkAncestor,xkAncestorOrSelf,xkAttribute,xkChild,
 xkDescendant,xkDescendantOrSelf,xkFollowing,
 xkFollowingSibling,xkNamespace,xkParent,xkPreceding,
 xkPrecedingSibling,xkSelf,xkComment,xkText,
 xkProcessingInstruction,xkNode,xkAnd,xkOr,xkDiv,xkMod,
 xkLast,xkPosition,xkCount,xkId,xkLocalName,
 xkNamespaceUri,xkName,xkString,xkConcat,xkStartsWith,
 xkContains,xkSubstringBefore,xkSubstringAfter,
 xkSubstring,xkStringLength,xkNormalizeSpace,
 xkTranslate,xkBoolean,xkNot,xkTrue,xkFalse,xkLang,
 xkNumber,xkSum,xkFloor,xkCeiling,xkRound)

Description

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

See also

Values

xkNoneNo axis specified.
xkAncestorAncestor axis (ancestor::).
xkAncestorOrSelfAncestor or Self axis (ancestor-or-self::).
xkAttributeAttribute axis (attribute::).
xkChildChild axis (child::).
xkDescendantDescendant axis (descendant::).
xkDescendantOrSelfDescendant or Self axis (descendant-or-self::).
xkFollowingFollowing axis (following::).
xkFollowingSiblingFollowing Sibling axis (following-sibling::).
xkNamespaceNamespace axis (namespace::).
xkParentParent axis (parent::).
xkPrecedingPreceding axis (preceding::).
xkPrecedingSiblingPreceding Sibling axis (preceding-sibling::).
xkSelfSelf axis (self::).
xkCommentNode test for comment: comment().
xkTextNode test for text: text().
xkProcessingInstructionNode test for preceding instruction: processing-instruction().
xkNodeNode test for a node: node().
xkAndAnd operator.
xkOrOr operator.
xkDivDiv operator.
xkModMod operator.
xkLastNode set function last().
xkPositionNode set function position().
xkCountNode set function Count(node-set).
xkIdUnique ID function: id("foo").
xkLocalNameNode set function local-name(node-set).
xkNamespaceUriNode set function namespace-uri(node-set).
xkNameNode set function name(node-set).
xkStringString function string(object).
xkConcatString function concat(string, string).
xkStartsWithString function starts-with(string, string).
xkContainsString function contains(string, string).
xkSubstringBeforeString function substring-before(string, string).
xkSubstringAfterString function substring-after(string, string).
xkSubstringString function substring(string, number, number).
xkStringLengthString function string-length(string).
xkNormalizeSpaceString function normalize-space(string).
xkTranslateString function translate(string, string, string).
xkBooleanBoolean function boolean(object).
xkNotBoolean function not(boolean).
xkTrueBoolean function true().
xkFalseBoolean function false().
xkLangBoolean function lang(string).
xkNumberNumber function number(object).
xkSumNumber function sum(node-set).
xkFloorNumber function floor(number).
xkCeilingNumber function ceiling(number).
xkRoundNumber function round(number).

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