epcEdit needs a template for creating new documents. A template must contain at least the name of the document element and (for SGML and valid XML documents) the public or system identifier of the DTD.
If the new DTD came with an example document (or if you already have a document for the new DTD), the process of creating a new template is straight forward and simple:
Open the document for the new DTD in epcEdit by selecting File > Open and choosing the appropriate document file.
Select Document > New Template > From Current Document from the main menu. A file selection dialog will appear where you can specify the name of the document template.
Enter an appropriate file name (e.g. docbk41x for documents with the Docbook XML DTD) and click on the Save button to save the new template.
If you don't have a document for the new DTD, you will need to create a new template with the template wizard. The process of creating new templates is described in detail in the template tutorial.
![]() |