2005-02-09 11:10:54

A parsed token that represents an axis specifier.

Copyright 2004 Fourthought, Inc. (USA). Detailed license and copyright information: http://4suite.org/COPYRIGHT Project home, documentation, distributions: http://4suite.org/

Always displays verbose expression

Select all of the descendants from the context node

Always returns a node-set and 0 if forward, 1 if reverse.

1

Select all of the ancestors including the root

Select all of the ancestors including ourselves through the root

Select all of the attributes from the context node

2

Select all of the children of the context node

Select the context node and all of its descendants

Select all of the nodes the follow the context node, not including descendants.

Select all of the siblings that follow the context node

Select all of the namespaces from the context node.

13

Select the parent of the context node

Select all of the nodes the precede the context node, not including ancestors

Select all of the siblings that precede the context node

Select the context node

13
{'ancestor': <class Ft.Xml.XPath.ParsedAxisSpecifier.ParsedAncestorAxisSpecifier>, 'ancestor-or-self': <class Ft.Xml.XPath.ParsedAxisSpecifier.ParsedAncestorOrSelfAxisSpecifier>, 'attribute': <class Ft.Xml.XPath.ParsedAxisSpecifier.ParsedAttributeAxisSpecifier>, 'child': <class Ft.Xml.XPath.ParsedAxisSpecifier.ParsedChildAxisSpecifier>, 'descendant': <class Ft.Xml.XPath.ParsedAxisSpecifier.ParsedDescendantAxisSpecifier>, 'descendant-or-self': <class Ft.Xml.XPath.ParsedAxisSpecifier.ParsedDescendantOrSelfAxisSpecifier>, 'following': <class Ft.Xml.XPath.ParsedAxisSpecifier.ParsedFollowingAxisSpecifier>, 'following-sibling': <class Ft.Xml.XPath.ParsedAxisSpecifier.ParsedFollowingSiblingAxisSpecifier>, 'namespace': <class Ft.Xml.XPath.ParsedAxisSpecifier.ParsedNamespaceAxisSpecifier>, 'parent': <class Ft.Xml.XPath.ParsedAxisSpecifier.ParsedParentAxisSpecifier>, ...}