An improved method and system for processing a structured document stored
in a database is disclosed. The method includes identifying strings that
are processed by the database, assigning an identifier to each of the
strings, storing each of the strings and the assigned identifier in a
table in the database, where the table is a global database table, and
utilizing the table to replace the strings with their assigned
identifiers throughout the database, where the identifiers are used
during document processing.