docs.intersystems.com
InterSystems IRIS Data Platform 2019.2  /  Using Virtual Documents in Productions

Using Virtual Documents in Productions
Angle Bracket <> Syntax
Previous section          
InterSystems: The power behind what matters   
Search:  


Describes how to use angle bracket <> syntax to access virtual properties.
Where Applicable
You can use this syntax in business rules.
Details
To use angle bracket syntax to access a virtual property, use the following syntax:
message<xpathexpression>
Where
The preceding syntax is equivalent to the following:
GetXPathValues(message.stream,"context|expression")
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:
<a><b><c>


Previous section          
Send us comments on this page
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-08-23 05:52:04