IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing monitor models > Create monitor models > Tools for monitor model editing

Editing with the XML editor

You can edit the XML representation of a monitor model in the XML editor directly if you prefer, rather than using the form editor.

To edit in the XML editor rather than in the form editor:


Procedure

  1. Click the tab at the bottom of the editor that displays the name of your file ( my_filename.mm).
  2. Edit the XML representation of the monitor model. When you try to return to the form editor, some of the XML text is validated.

    If the validation detects that the XML document is not well formed, you cannot return to the form editor until the error is fixed. Semantic and syntactic validation errors are displayed in the Problems view and marked in the XML file.


Results

When you go from the form editor to the XML editor, the XML representation of the in-memory model is computed and displayed, even if there are unsaved changes. You can move back and forth between the XML editor and the form editor, provided the XML remains well formed.

If you edit the XML directly, be sure that you maintain the correct order of elements and that like elements are grouped together. The following list shows the required ordering of elements within monitoring contexts:

<monitoringContext>
	<description>
	<trigger>
	<inboundEvent>
	<outboundEvent>
	<metric>
	<counter>
	<stopwatch>
<monitoringContext>

Tools for monitor model editing