The Insert | ExternalID command is available when a child item of the DOCTYPE declaration in an XML file is selected in Grid View. This command inserts a Grid View row for an external identifier (PUBLIC or SYSTEM). You must enter the type of identifier and its value.
The Text View corresponding to the screenshot of the Grid View shown above looks like this:
|Note:||A row for ExternalID can be added as a child when the DOCTYPE item is selected, or it can be inserted or appended when one of the child items of the DOCTYPE item is selected, for example, the ELEMENT declaration name in the example above.|
A DOCTYPE declaration in an XML file can contain a reference to an external resource containing DTD declarations. This resource is referenced either through a public or system identifier. For example:
<!DOCTYPE doc_element_name PUBLIC "publicID" "systemID">
A system identifier is a URI that identifies the external resource. A public identifier is location-independent and can be used to dereference the location of an external resource. For example, in your <%SPY-GEN%> installation, URIs for popular DTDs and XML Schemas are listed in a catalog file called MainCatalog.xml. A public identifier in an XML document can be used to dereference a DTD listed in MainCatalog.xml.