xmlns:xalan="http://xml.apache.org/xalan"
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static NodeList | Returns: a NodeList containing the nodes in nl1 that are not in nl2 Note: The usage of this extension function in the xalan namespace is deprecated. Please use the same function in the EXSLT sets extension (http://exslt.org/sets).NodeList for first node-set nl1, NodeList NodeList for second node-set nl2)Returns the difference between two node-sets. |
| public static NodeList | Returns: a NodeList with nodes from nl containing distinct string values. In other words, if more than one node in nl contains the same string value, only include the first such node found.Note The usage of this extension function in the xalan namespace is deprecated. Please use the same function in the EXSLT sets extension (http://exslt.org/sets). NodeList for node-set nl)Returns node-set containing distinct string values. |
| public static XObject | Returns: the XObject resulting from evaluating the XPathan myContext, String ExpressionContext passed in by the
extension mechanism. This must be an XPathContext.The XPath expression to be evaluated. xpathExpr)Returns the result of evaluating the argument as a string containing an XPath expression. |
| public static boolean | Returns: true if nl1 and nl2 contain exactly the same set of nodes.NodeList for first node-set nl1, NodeList NodeList for second node-set nl2)Returns true if both node-sets contain the same set of nodes. |
| public static NodeList | Returns: a NodeList containing the nodes in nl1 that are also in nl2 Note: The usage of this extension function in the xalan namespace is deprecated. Please use the same function in the EXSLT sets extension (http://exslt.org/sets).NodeList for first node-set nl1, NodeList NodeList for second node-set nl2)Returns the intersection of two node-sets. |
| public static NodeSet | nodeset(ExpressionContext
Context passed by the extension processor myProcessor, Object Argument in the stylesheet to the nodeset extension function
NEEDSDOC ($objectName$) @return rtf)This method is an extension that implements as a Xalan extension the node-set function also found in xt and saxon. |
| public static NodeList | |
| public static NodeList |
| Extensions | back to summary |
|---|---|
| private Extensions() Constructor Extensions | |
| difference | back to summary |
|---|---|
| public static NodeList difference(NodeList nl1, NodeList nl2) Returns the difference between two node-sets.
| |
| distinct | back to summary |
|---|---|
| public static NodeList distinct(NodeList nl) Returns node-set containing distinct string values.
| |
| evaluate | back to summary |
|---|---|
| public static XObject evaluate(ExpressionContext myContext, String xpathExpr) throws SAXNotSupportedException Returns the result of evaluating the argument as a string containing an XPath expression. Used where the XPath expression is not known until run-time. The expression is evaluated as if the run-time value of the argument appeared in place of the evaluate function call at compile time.
| |
| hasSameNodes | back to summary |
|---|---|
| public static boolean hasSameNodes(NodeList nl1, NodeList nl2) Returns true if both node-sets contain the same set of nodes. | |
| intersection | back to summary |
|---|---|
| public static NodeList intersection(NodeList nl1, NodeList nl2) Returns the intersection of two node-sets.
| |
| nodeset | back to summary |
|---|---|
| public static NodeSet nodeset(ExpressionContext myProcessor, Object rtf) This method is an extension that implements as a Xalan extension
the node-set function also found in xt and saxon.
If the argument is a Result Tree Fragment, then
| |
| tokenize | back to summary |
|---|---|
| public static NodeList tokenize(String toTokenize, String delims) Returns a NodeSet containing one text node for each token in the first argument.
Delimiters are specified in the second argument.
Tokens are determined by a call to | |
| tokenize | back to summary |
|---|---|
| public static NodeList tokenize(String toTokenize) Returns a NodeSet containing one text node for each token in the first argument.
Delimiters are whitespace. That is, the delimiters that are used are tab ( ),
linefeed (
), return (
), and space ( ).
Tokens are determined by a call to | |