Class PITest
java.lang.Object
org.rumbledb.expressions.xml.node_test.PITest
- All Implemented Interfaces:
Serializable,NodeTest
XQuery 3.1 Section 2.5.5 - SequenceType Matching
PITest ::= "processing-instruction" "(" (NCName | StringLiteral)? ")"
A PITest with no argument matches any processing-instruction node.
A PITest with an NCName or StringLiteral argument matches any processing-instruction node
whose PITarget equals fn:normalize-space of the given name.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PITest
Creates a PITest that matches processing-instruction nodes with the given target name.- Parameters:
targetName- the target name to match against (from NCName or StringLiteral)
-
-
Method Details