matlab.io.xml.xpath.EvalResultType Class
Namespace: matlab.io.xml.xpath
Description
The matlab.io.xml.xpath.EvalResultType
class enumerates the types of values
that an XPath expression evaluation can return. To specify a result type for an evaluation,
provide the enumeration member as the last argument of the evaluate
method of
a matlab.io.xml.xpath.Evaluator
object.
Enumeration Member | Returns |
---|---|
matlab.io.xml.xpath.EvalResultType.Node | The first node selected by the XPath expression as a
|
matlab.io.xml.xpath.EvalResultType.NodeSet | The nodes selected by the XPath expression as a vector of
|
matlab.io.xml.xpath.EvalResultType.Number | The value of the first node selected by the XPath expression as a double. |
matlab.io.xml.xpath.EvalResultType.Boolean | The value of the first node selected by the XPath expression as a logical. |
matlab.io.xml.xpath.EvalResultType.String | The value of the first node selected by the XPath expression as a string scalar. |
Examples
Version History
Introduced in R2021a