The *s1kd-index* tool adds index flags to a data module based on a
user-defined set of keywords.
# OPTIONS
- \-D, --delete
Remove the current index flags from a data module.
- \-f, --overwrite
Overwrite input module(s).
- \-h, -?, --help
Show help/usage message.
- \-I, --indexflags \<index\>
Flag the terms in the specified \<index\> XML file instead of the
default `.indexflags` file.
- \-i, --ignore-case
Ignore case when flagging terms.
- \-l, --list
Treat input (stdin or arguments) as lists of filenames of data
modules to add index flags to, rather than data modules themselves.
- \-q, --quiet
Quiet mode. Errors are not printed.
- \-v, --verbose
Verbose output.
- \--version
Show version information.
In addition, the following options allow configuration of the XML
parser:
- \--dtdload
Load the external DTD.
- \--huge
Remove any internal arbitrary parser limits.
- \--net
Allow network access to load external DTD and entities.
- \--noent
Resolve entities.
- \--parser-errors
Emit errors from parser.
- \--parser-warnings
Emit warnings from parser.
- \--xinclude
Do XInclude processing.
- \--xml-catalog \<file\>
Use an XML catalog when resolving entities. Multiple catalogs may be
loaded by specifying this option multiple times.
## `.indexflags` file
This file specifies the list of indexable keywords for the project and
their level. By default, the program will search for a file named
`.indexflags` in the current directory or parent directories, but any
file can be specified using the -I option.
<levelledPara>
<title>General</title>
<para>
The s1kd-tools<indexFlag indexLevelOne="S1000D"
indexLevelTwo="s1kd-tools"/> are a set of small tools for
manipulating S1000D<indexFlag indexLevelOne="S1000D"/>
XML<indexFlag indexLevelOne="data" indexLevelTwo="XML"/>
data<indexFlag indexLevelOne="data"/>.
</para>
</levelledPara>