Follow this workflow for structural specialization:
Create a .mod file with definitions of specialized elements. For more information, see Modify DTDs for structural specialization.
Integrate the .mod file with the existing DITA DTDs. For more information, see Modify DTDs for structural specialization.
To make your specialized elements types work with the existing <topic> hierarchies, add your specialization to ditabase.dtd. Alternatively, you can create a separate DTD. For <map> specialization, modify and use map.dtd or bookmap.dtd
Copy the mod file 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.