Describes how to use angle bracket <> syntax to access virtual properties using an xpath expression.
To use angle bracket syntax to access a virtual property, use the following syntax:
For example, a condition that uses an xpath expression to evaluate whether a string is in an XML document might be:
The preceding syntax is equivalent to the following:
GetXPathValues() is a convenience method in the rules engine. It operates on a message that contains a stream property whose contents are an XML document. The method applies an XPath expression to the XML document within the stream property, and returns all matching values. If the context| part of the XPath argument is missing, InterSystems IRIS searches the entire XML document.
If the syntax returns multiple values a, b, and c they appear in a single string enclosed in <> angle brackets, like this: