Follow this workflow for domain specialization:
Create a .mod file with definitions of specialized elements. For more information, see Modify DTDs for domain specialization.
Create a .ent file with the entities for the specialized domain. For more information, see Modify DTDs for domain specialization.
Integrate the .mod and .ent files with the existing DITA DTDs in ditabase.dtd. For more information, see Modify DTDs for domain specialization.
Copy the .mod and .ent files at $StructDir\xml\DITA_1.2\app\base\dtd
.
In FrameMaker®, click DITA > DITA Specialization.... The DITA specialization dialog box appears.
Specify the path of the source files and a public ID:
Field |
Value |
---|---|
Read/Write rules |
$StructDir\xml\DITA_1.2\app\technicalContent\rules\<topic.rules.txt> |
EDD |
$StructDir\xml\DITA_1.2\app\technicalContent\edd\<topic.edd.fm> |
Template |
$StructDir\xml\DITA_1.2\app\technicalContent\template\<topic.template.fm> |
Public ID |
A public ID for the generated files. Note: If
you do not enter a Public ID, the XML files created from these specialized
files are not portable to other systems. The XML files contain the
absolute path of the DTD that is not available on other systems.
|
Specialized DTD |
$StructDir\xml\DITA_1.2\app\technicalContent\dtd\<ditabase.dtd> (or the base dtd file you have integrated the .mod file with) |
Specify the output destination folder and filenames:
Field |
Value |
---|---|
Destination Folder |
Path of the folder containing the output files for specialization |
Read\Write Rules |
Name of the read\write rules file |
EDD |
Name of the EDD file |
Template |
Name of the FrameMaker template |
Select Create New Structured Application when files are created check box and click OK.
You are prompted to select a structured application. Select an existing structured application from which you want to derive the Doctypes and Entity Locations (Public IDs) and click Continue. The Structured Application Designer dialog box appears.
Edit the structured application name and, if necessary, other application settings and click Save. Your structured application is now created.
Select StructureTools > Edit Application Definitions.
Select StructureTools > Read Application Definitions.
Start authoring.