User Guide
Indexing XML Documents 143
Indexing XML Documents
To prepare for indexing XML documents:
1 Make sure that the XML filter (flt_xml.dll, flt_xml.sl, flt_xml.so) resides in
the bin directory for the installed platform.
2 Make sure that the style.uni contains the directive for invoking the XML filter.
3 If custom fields or zones are required, define them in the
style.ufl file.
4 Specify custom fields to be populated in the
style.xml file, as appropriate.
Indexing using mkvdk
To index XML documents using a command-line indexer, issue these commands:
mkvdk -create -style styledir -collection collname
mkvdk -collection collname file1.xml file2.xml filen.xml
Or using a file list (flist.txt):
mkvdk -create -style styledir -collection collname @flist.txt
The specified style directory must contain the modified style.uni and style.xml
files to enable XML document indexing support. For more information about using
the Verity mkvdk utility, see Chapter 9, “Managing Verity Collections with the mkvdk
Utility” on page 185.
Searching using rcvdk
Use rcvdk to search and view a collection containing XML documents. For
information on using the rcvdk utility, see Chapter 10, “Using the Verity rcvdk Utility”
on page201.