| Editing XML Documents / Editing XML Documents in Author Mode | |
The following image is an example of how form controls can be used by content authors in
Author mode. It includes several button form controls, a combo box,
and a text field. The
icon is a
button form control that is assigned a specific action that changes the layout to an editing
mode. The [ + ] and [ - ] icons are also button
form controls that are assigned specific actions to add or delete records from the document.
The Direct manager row includes a combo box form control that is both a drop-down menu
and an editable text field, while the Homepage row includes a simple editable text
field form control.
Figure: Example of Form Controls in Author Mode
You can use your imagination to envision the multitude of ways that you can use form controls to make the editing experience for content authors easier and more efficient. As a working example, a bundled samples project (located in the samples folder inside the Oxygen XML Editor installation directory) contains a file called personal.xml that contains form controls. You can use this file, along with its corresponding personal.css file (form controls are defined in the CSS) to experiment with an example of how form controls can be implemented in Author mode.