User Guide
Style Files 141
style.xml command syntax
<command attribute="value"/>
Use these commands in the style.xml file to manage how Verity handles individual
XML elements. Refer to the
style.xml file listing for examples of these commands.
style.xml command examples
The following command ignores all XML tags in the document, indexing only the
content:
<ignore xmltag = "*"/>
The following command skips indexing the specified xmltag but indexes the content
between the start and end tags of the specified xmltag:
<ignore xmltag = "section_1"/>
The following command indexes xmltag as a zone if there is also an ignore xmltag =
"*" command:
<preserve xmltag = "section_1"/>
The following command suppresses the entire element identified by xmltag. The tag,
attribute, and content are not indexed:
<suppress xmltag = "section_1"/>
Command Description
field Indexes the content between the pair of specified XML tags as field
values. By default, the field name is the same as the xmltag value,
unless otherwise specified by the fieldname attribute.
Attributes:
•
xmltag
• fieldname
• index
ignore Skips indexing of xmltag but indexes the content between the pair of
specified XML tags.
Attribute:
• xmltag
preserve Indexes specified xmltag as a zone if preceded by ignore
xmltag = "*".
Attribute:
•
xmltag
suppress Suppresses every xmltag embedded within the specified xmltag.
Attribute:
•
xmltag