Last updated 2002-05-17 21:52:49 EDT
Doc Title XPAT Indexing Scenarios
Author 1 Wilkin, John Price
CVS Revision $Revision: 1.8 $

4.1 A "Scenario" for Indexing MFS-based SGML and XML

Editor's note: This section is a "stub" suggesting a general outline for content that will come later. Please write to if a particular section would be valuable to you before the completed document goes online, or if you have suggestions for the organization or content of the document.

4.1.1 Introduction

This scenario outlines the index-building steps for a fully compliant SGML MFS database, which consists of multiple tagged SGML files of one document type. This chapter first shows the individual index-building steps that comprise building a complete DLXS index such as that used in Text Class. These individual steps are discussed in a functional sense only. For full details of each index-builder, consult Chapter 3, Detailed Index Building.

4.1.2 Individual Index Building Steps

Several indices actually comprise a complete DLXS index. Each index is created by a specific index-building utility. The XPAT database manager controls the sequence of the individual index-builders, applying them with user-selected parameters from the command line when necessary.

mfsbld -D patents6.dd -o tempfile.mfs

mfsmeta -o sgmltest.str -D patents6.dd

multirgn -o sgmltest -D patents6.dd -t ottmp.tag -meta sgmltesc.str

sgmlrgn -m region -o sgmltest -M sgmltest.str -G patents -D patents6.dd patents6.inp patents6.dd

xpatbld -m 5m -D patents6.dd

patffw -m 5m -o sgmltest -D patents6.dd

patffi -m 5m -o sgmltest -D patents6.dd

The following table explains the command lines above.

4.2 A "Scenario" for Indexing Consolidated SGML

4.3 A "Scenario" for Indexing Consolidated, Valid XML

4.4 A "Scenario" for Indexing Well-formed XML (using multirgn)