With the progress of web services and XML technologies, it is not uncommon for an Oracle CEP application to have to receive and output XML documents as part of event processing. Let's start our study of how to work with XML in CQL by first tackling the case where queries need to output strings containing valid XML documents.
Here is a quick primer on the XML vocabulary. Using the following XML as a reference:
<elementAattributeA="v1">content</elementA> <elementBattributeB="v2">content</elementB> </docElem>
<elementB> are called XML elements. XML elements contain content between their start (
<elementA>) and end tag (
</elementA>), which can be other XML elements, ...