Working with XML Catalogs 1.0 in XMLBlueprint XML Editor

Creating a new XML Catalogs XML Catalog

To create a new XML Catalogs XML Catalog:

  1. Choose File > New > XML Document with DTD, Relax NG Schema, or XML Schema and copy/paste the XML Catalogs 1.0 DTD (http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd) into the dialog.
  2. Press the Next > button, choose "catalog" as root element and press Finish.

That's it, you now have a minimal XML Catalogs 1.0 XML Catalog.

TIP -- If you work with XML Catalogs regularly, you may wish to create a template. To do this, create a new XML Catalog, choose File > Add to Templates..., name the template "XML Catalogs 1.0 XML Catalog.xml" and press the Save button. Close "XML Catalogs 1.0 XML Catalog.xml". To start with the template, choose File > New from Templates and select "XML Catalogs 1.0 XML Catalog".

Editing an XML Catalogs XML Catalog

When you open an XML Catalogs XML Catalog, XMLBlueprint will scan the associated schema to initialize the XML Completion assistant. By pressing <, the assistant displays a list containing all the elements that can be inserted at that point in the document. Press the first few characters of the element you wish to insert and then press ENTER, SPACE, or TAB to insert the selected element in the document. The closing bracket is automatically set, as well as any required attributes or child elements.

Validating an XML Catalogs XML Catalog

At any time during the editing process, you can click the validate icon or hit F8 to validate your XML Catalogs XML Catalog. XMLBlueprint reports any errors in the output window below the editor. Clicking the red error message jumps to the error, even if the error is in another file.