Developing Apama Applications > Developing Adapters > Standard Plug-ins > The XML codec plug-in
The XML codec plug-in
The Apama XML codec converts messages between the following two formats:
*IAF normalised event whose field values are strings that contain XML data.
*Normalised event in which each field is a name/value pair. These unordered fields contain elements, attributes, CDATA, and text.
XML codec plug-in
To use the XML codec, you must add some information to the IAF configuration file and then set up the classpath. After you do this, you can launch the adapter by running the IAF executable.
For an example configuration file, see adapters\config\XMLCodec-example.xml.dist in the Apama installation directory. This file can be changed as required for the purposes of your data and the content added to the adapter configuration file in which the codec is to be used.
Use the information in the following topics to help you configure the XML codec:
*Supported XML features
*Adding XML codec to adapter configuration
*Setting up the classpath
*About the XML parser
*Specifying XML codec properties
*Description of event fields that represent normalised XML
*Examples of conversions
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.