<xmlEditor> Configuration Element

This element allows the configuration of the user interface for the EditLive! for XML editor.

Configuration Element Tree Structure

<editLive>
  ...
  <wysiwygEditor>
    <xmlEditor ... />
  </wysiwygEditor>
  ...
</editLive>

Optional Attributes

showDocumentNavigator

Configures whether the XML document navigation bar is displayed immediately below the EditLive! for XML toolbars. If set to true then the document navigation bar will be displayed.

Default value: true

showValidationPane

Configures whether the XML validation pane is displayed. The validation pane provides users with validation information during runtime. There are three possible values for this attribute:

  • auto - When set to auto the validation pane will be displayed to users only when there is a validation error.

  • true - When set to true the validation pane will be displayed to users all the time.

  • false - When set to false the validation pane will never be displayed to users.

Example

The following example would hide the validation pane from users at all times, it would also cause the document navigator to be hidden.

<editLive>
  ...
  <wysiwygEditor tabPlacement="bottom">
    <xmlEditor 
      showValidationPane="false" 
      showDocumentNavigator="false" 
    />
  </wysiwygEditor>
  ...
</editLive> 

Remarks

The <xmlEditor> element can appear only once within the <wysiwygEditor> element.

If the <xmlEditor> element is to be left blank the element must then be a complete tag, it cannot contain a tag body. Therefore the tag must be closed in the same line. It should appear as below:

<xmlEditor showValidationPane=.../>