2005-01-01 17:22:06

A parsed token that represents a node test.

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

8

1

1

Returns a tuple that indicates the expected node type and, if applicable, the expected name.

The principalType is discussed in section [2.3 Node Tests] of the XPath 1.0 spec. Only attribute and namespace axes differ from the default of elements.

None
-0.5

1

7

1

3

{'comment': <class Ft.Xml.XPath.ParsedNodeTest.CommentNodeTest>, 'node': <class Ft.Xml.XPath.ParsedNodeTest.NodeTest>, 'processing-instruction': <class Ft.Xml.XPath.ParsedNodeTest.ProcessingInstructionNodeTest>, 'text': <class Ft.Xml.XPath.ParsedNodeTest.TextNodeTest>}
{1: True, 2: True, 3: True, 7: True, 8: True, 9: True, 13: True}