record TXQPathMatchingStep

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TXQPathMatchingStep = record

Description

Step of a query in a tree

* *You can use it to use queries, but it is intended for internal use

Overview

Fields

namespaceURLOrPrefix: string;
value: string;
valueHash: cardinal;
filters: TXQPathMatchingStepFilters;
requiredType: TXQTermSequenceType;
typ: TXQPathMatchingAxis
matching: TXQPathMatchingKinds;
specialCase: TXQTerm;

Methods

function serialize: string;
function clone: TXQPathMatchingStep;
function namespaceChecked: boolean;
procedure destroy;

Description

Fields

namespaceURLOrPrefix: string;

Namespace the matched node must be in (only used if qmCheckNamespace is set)

value: string;

If value <> '', only nodes with the corresponding value are found (value = node-name for element node, value = text for text/comment nodes)

valueHash: cardinal;
 
filters: TXQPathMatchingStepFilters;

expressions a matched node must satisfy

requiredType: TXQTermSequenceType;
 
typ: TXQPathMatchingAxis

Axis, where it searchs for a matching tree node

matching: TXQPathMatchingKinds;

Which nodes match the query command. If this is [], _nothing_ is found! The elements of the set [qmElement,qmText,qmComment,qmProcessingInstruction,qmAttribute] match nodes of a certain type, qmValue activates the value field.

specialCase: TXQTerm;

Term used for qcFunctionSpecialCase

Methods

function serialize: string;
 
function clone: TXQPathMatchingStep;
 
function namespaceChecked: boolean;
 
procedure destroy;
 

Generated by PasDoc 0.14.0.