Configuring values under Tool Preferences

Follow these steps to configure the PUBID, DATATYPE, and XMLDECL values.

Procedure

  1. Click on the Global desktop in the left pane of the Tool Preferences window.
  2. Click Insert Key to add a key for Document Types.
    An Enter Keyname dialog box appears.
  3. Enter the keyname, Document Types, and then click OK.
  4. Click on the Document Type key (folder), and then click Insert Key to add the Contenta document type.
    The Contenta document type is the value stored in your Contenta object’s Document Type property sheet field. This value is case-sensitive.
  5. Click on the document type key (folder) then click Insert Value.

    An Edit Value window appears.

  6. Add the value PUBID in the Value Name field.
  7. Click OK when done defining the Value Name and Value Data.

    The PUBID name and its value is added to the right pane of the Tool Preferences window for the selected Document Type.

  8. Repeat the previous two steps to add values for DATATYPE and XMLDECL environment variables.
    • If the XML defaults values apply (see Document Type property Sheet Field in this documentation), you do not have to add them.
    • If the DATATYPE is not XML, do not add a value for XMLDECL because that value is ignored.
    • Default encoding is UTF-8; if your data is ISO-8859-1 set the value of XMLDECL to the following.

      <?xml version="1.0" encoding="iso-8859-1"?>

  9. Repeat Steps 4 through 7 for each document type stored in your objects’ property sheets.