Diff for File and folder naming
Sat, 2007-11-17 01:08 by syeo | Sat, 2007-11-17 01:13 by syeo | ||
---|---|---|---|
next diff > | |||
Changes to Body | |||
Line 3 | Line 3 | ||
</p>
| </p>
| ||
<p>
| <p>
| ||
- | 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.
| + | 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.
|
</p>
| </p>
| ||
+ | <h1>File naming rules</h1>
| ||
<p>
| <p>
| ||
- | The DITA Open Toolkit does not support file names that contain:
| + | 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:
|
</p>
| </p>
| ||
<ul>
| <ul>
| ||
<li>spaces</li>
| <li>spaces</li>
| ||
- | <li>punctuation</li>
| + | <li>punctuation except for the dot before the file extension</li>
|
</ul>
| </ul>
| ||
+ | <p>
| ||
+ | 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.
| ||
+ | </p>
| ||
+ | <p>
| ||
+ | DITA map files must have the extension .ditamap .
| ||
+ | </p>
| ||
+ | <p>
| ||
+ |
| ||
+ | </p>
| ||
<p>
| <p>
| ||
|
| ||
</p>
| </p>
| ||
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 .