43.2.3.6 Preventing duplicate
file names based on paragraph formats
To ensure uniqueness of file names without using a
prefix or suffix, you can have DITA2Go override a file name, by
combining the two paragraph-based file-naming methods:
- Add an element with a special
@outputclass to enable creation
of a file name other than from an existing paragraph, as described in
§43.2.3.3
Creating special paragraph formats to name output files.
- Use the FileName property in [HtmlStyles] for both the
existing paragraph and the special paragraph formats. The file-name paragraph
should follow (not precede) the heading paragraph; the last
name specified wins.
For example:
[HtmlStyles]
Heading1 = Split Title FileName
Splitname = FileName Delete
Previous Topic: 43.2.3.5 Constructing
file names from multiple paragraph formats
Next Topic: 44. Producing deliverable
results
Parent Topic: 43.2.3 Using
paragraph formats to name output files
Sibling Topics:
43.2.3.1 Constructing
file names based on paragraph content
43.2.3.2 Basing
output file names on existing paragraph formats
43.2.3.3 Creating
special paragraph formats to name output files
43.2.3.4 Specifying
a file-name prefix or suffix
43.2.3.5 Constructing
file names from multiple paragraph formats