Constructor and Description |
---|
ExsltSets() |
Modifier and Type | Method and Description |
---|---|
static NodeList |
difference(NodeList nl1,
NodeList nl2)
The set:difference function returns the difference between two node sets - those nodes that
are in the node set passed as the first argument that are not in the node set passed as the
second argument.
|
static NodeList |
distinct(NodeList nl)
The set:distinct function returns a subset of the nodes contained in the node-set NS passed
as the first argument.
|
static boolean |
hasSameNode(NodeList nl1,
NodeList nl2)
The set:has-same-node function returns true if the node set passed as the first argument shares
any nodes with the node set passed as the second argument.
|
static NodeList |
intersection(NodeList nl1,
NodeList nl2)
The set:intersection function returns a node set comprising the nodes that are within
both the node sets passed as arguments to it.
|
static NodeList |
leading(NodeList nl1,
NodeList nl2)
The set:leading function returns the nodes in the node set passed as the first argument that
precede, in document order, the first node in the node set passed as the second argument.
|
static NodeList |
trailing(NodeList nl1,
NodeList nl2)
The set:trailing function returns the nodes in the node set passed as the first argument that
follow, in document order, the first node in the node set passed as the second argument.
|
public static NodeList leading(NodeList nl1, NodeList nl2)
nl1
- NodeList for first node-set.nl2
- NodeList for second node-set.public static NodeList trailing(NodeList nl1, NodeList nl2)
nl1
- NodeList for first node-set.nl2
- NodeList for second node-set.public static NodeList intersection(NodeList nl1, NodeList nl2)
nl1
- NodeList for first node-set.nl2
- NodeList for second node-set.public static NodeList difference(NodeList nl1, NodeList nl2)
nl1
- NodeList for first node-set.nl2
- NodeList for second node-set.public static NodeList distinct(NodeList nl)
nl
- NodeList for the node-set.public static boolean hasSameNode(NodeList nl1, NodeList nl2)
Copyright © 2018 JBoss by Red Hat. All rights reserved.