Style Files
Style Files
The following style files are required to enable indexing of XML files. Default style
files are installed into in the
and
Style File
style.uni
style.xml
style.ufl
style.dft
Configuring style files
This section discusses style file configuration used to support XML document
filtering.
style.uni file
To index XML documents, the
type: "text/xml"
Configuring the style.xml file
By default, the XML filter indexes regions of the document delimited by XML tags as
zones, with the zones given the same name as the XML tag. META tags are
automatically indexed as fields unless they are in a suppressed region.
To modify the default behavior, you create a style file named
specify field and zone indexing for regions of the document delimited by XML tags
and skip regions of the document delimited by XML tags.
<?xml version="1.0" encoding="ISO-8859-1"?>
<?note: this is a sample comment line?>
<style.xml version="2.6.0">
<?note:
<?note:
opt/coldfusion/verity/common/style
Description
Invokes the XML filter for indexing XML documents.
Modifies the default behavior of the XML filter. (optional)
Defines custom fields in XML documents. The fields must also be
defined in the
Invokes the Verity universal filter by default so all document types
can be indexed into one collection. You can modify the
file to invoke the XML filter instead of the universal filter, as
described below.
/format-filter = "flt_xml"
/charset= guess
/def-charset = 8859
? this following line dictates all xmltags be ignored
? <ignore xmltag="*" />
?>
cfusion\verity\common\style
directory (Linux and UNIX).
style.xml
file.
must include the following lines:
style.uni
139
directory (Windows)
style.dft
. You can
style.xml
Need help?
Do you have a question about the COLDFUSION 5-ADVANCED ADMINISTRATION and is the answer not in the manual?