Using Code Completion in XML Files Constrained by an XML Schema

See Also

You can use code completion in XML files if the XML document is constrained by an XML schema. In the schema source file, this constraint is represented by an xsi attribute.

To complete an XML tag:

  1. In the Source editor tab of the XML document, position the cursor where you want to start adding content and type an opening left angle bracket (<).
  2. Press Ctrl-Spacebar.
    The code completion box opens. This box provides a scrolling list of schema components. The list of components is based on the XML schema file that constrains the current XML file.
  3. Select a value using the information in Selecting Values in the Code Completion Box below.
    If you select a component with attributes, the next left angle bracket (<) keystroke will invoke the code completion box with the attributes.

Selecting Values in the Code Completion Box

You can use the most convenient combination of the following options to select values in the code completion box:

See Also
About XML Schema Tools
Using Code Completion
XML Schema Tasks

Legal Notices