O'Reilly logo

Getting Started with Oracle Event Processing 11g by Lloyd Williams, Robin J. Smith, Alexandre Alves

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Processing XML with CQL

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.

Tip

XML Primer

Here is a quick primer on the XML vocabulary. Using the following XML as a reference:

<docElem>
  <elementAattributeA="v1">content</elementA>
  <elementBattributeB="v2">content</elementB>
</docElem>

The tags <docElem>, <elementA>, and <elementB> are called XML elements. XML elements contain content between their start (<elementA>) and end tag (</elementA>), which can be other XML elements, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required