Diff for File and folder naming
Sat, 2007-11-17 01:13 by syeo | Sat, 2007-11-17 01:16 by syeo | ||
---|---|---|---|
< previous diff | next diff > | ||
Changes to Body | |||
Line 17 | Line 17 | ||
</p>
| </p>
| ||
<p>
| <p>
| ||
- | DITA map files must have the extension .ditamap .
| + | DITA map files must have the extension .ditamap .
|
</p>
| </p>
| ||
+ | <h1>Folder naming</h1>
| ||
<p>
| <p>
| ||
- |
| + | References, such as <xref>, <image> and <topicref> elements, include folder paths. All folder names in these paths must not contain spaces or punctuation.
|
</p>
| </p>
| ||
<p>
| <p>
| ||
|
| ||
</p>
| </p>
| ||
+ | <h1>File locations</h1>All files must be stored on the same drive letter. The DITA Open Toolkit cannot resolve references across drive letters.
| ||
File and folder naming
Although the DITA standard itself does not set rules about file and folder naming, the DITA Open Toolkit has strict requirements for file and folder names. Problems with file and folder names may cause publishing to fail.
It is best to set guidelines about file and folder naming conventions before you start creating references such as <topicref>s in maps, as references include file names and folder paths.
File naming rules
The following rules apply to DITA topic files, map files, and all files referenced into a project such as image files. The DITA Open Toolkit does not support file names that contain:
- spaces
- punctuation except for the dot before the file extension
Topic files must have the extension .xml or .dita . The Open Toolkit cannot handle a mixture of topic files with .xml and .dita extensions, so organizations should pick one and standardize on it.
DITA map files must have the extension .ditamap .
Folder naming
References, such as <xref>, <image> and <topicref> elements, include folder paths. All folder names in these paths must not contain spaces or punctuation.