s1kd-index(1) s1kd-tools s1kd-index(1) NAME s1kd-index - Flag index keywords in a data module SYNOPSIS s1kd-index -h? s1kd-index [-I ] [-filqv] [...] s1kd-index -D [-filqv] [...] DESCRIPTION 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 Flag the terms in the specified 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 them‐ selves. -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 pars‐ er: --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 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 .in‐ dexflags in the current directory or parent directories, but any file can be specified using the -I option. Exmaple of .indexflags file format: EXAMPLE Given the following in a data module: General The s1kd-tools are a set of small tools for manipulating S1000D XML data. And the following .indexflags file: Then the s1kd-index command: $ s1kd-index .XML Would result in the following: General The s1kd-tools are a set of small tools for manipulating S1000D XML data. AUTHORS khzae.net. 2021-04-16 s1kd-index(1)