![]() ![]() Boolean operators can be used: and, or.XPath expressions and built-in functions can be used to construct predicate (boolean) expression as the added condition for inclusion.There may be more than one predicate tests.They are enclosed by and are optional.Predicate tests are the last part of a location step.* is a wildcard character matching any name.node(): all nodes, including comments and PI, excluding attributes and the document root.NameTest: the name of an element or attribute node.Node test is the second part of a location step.In general, forward axes are preferable.Note the classification of axes into 'forward axis' and 'reverse axis'. It indicates the direction to go for the next location step.An axis is the first part of the location step and is followed by :: before the node test and predicates.Note that is a relative path, relative to the context node, which is a film node. have a child which has an attribute id with the value of '162'.are a child node of a element in the document, and.Node predicate: XPath expression lists all elements that:. ![]() a set of node predicate (optional): to specify additional inclusion the location Node axis: child.a node test (required): to specify the node type, and.a node axis (required): to describe direction for navigation.A location step is composed of three parts:.You should select XPath 2.0 instead of XPath 1.0. #Free editix windows
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |