Use the XML Editor

When XML code is required in some Policy Manager forms, there is a set of built-in tools that can help you work with the code. These tools are known as the XML Editor and they are available from the following locations:
gateway
When XML code is required in some Policy Manager forms, there is a set of built-in tools that can help you work with the code. These tools are known as the XML Editor and they are available from the following locations:
Apply XSL Transformation Assertion
Managing Global Resources
Sample Messages
Validate XML Schema Assertion
To access the XML Editor, right-click anywhere within the XML code box. A context menu will appear with the following options (options that are currently unavailable are dimmed):
Menu Option
Description
Document > Insert file
Inserts a file containing XML code into the box, at the location of the cursor. Once the code is inserted, you may edit it within the XML code box if necessary.
Undo
Reverses the last action, such as character typed, text pasted/deleted, or file inserted. Multiple levels of undo are available.
Redo
Reverses the last undo action. Multiple levels of redo are available.
Cut
Removes the selected text and places it on the clipboard for pasting elsewhere.
Copy
Copies the selected text and places it on the clipboard for pasting elsewhere.
Paste
Inserts the contents of the clipboard.
Search a node
Displays a search dialog containing an expandable list of the nodes. Clicking on a node in the search dialog highlights its location in the XML code window.
XML > Parse
Parses the XML code and notifies you of any syntax errors.
XML > Format
Formats the XML code for improved readability.
XML > Comment
Used to enter text that will be automatically formatted as comments in the XML code box. The comment is inserted at the cursor location.
In addition to the XML Editor options, the following keystrokes can also be used:
Keystroke
Action
[Ctrl-A]
Selects all the text within the XML code box
[Ctrl-X]
Performs a Cut operation
[Ctrl-V]
Performs a Paste operation
[Home]
Moves the cursor to the beginning of the line
[End]
Moves the cursor to the end of the line
[Ctrl-Home]
Moves the cursor to the beginning of the XML code box
[Ctrl-End]
Moves the cursor to the end of the XML code box
[Ctrl-right arrow]
[Ctrl-left arrow]
Moves the cursor one item to the right or left within a line of XML code.
[Ctrl-Shift-right arrow]
[Ctrl-Shift-left arrow]
Selects the item to the right or left in a line of XML code.