142
Chapter 7 Indexing XML Documents
The following command indexes the content between the start and end tags of the
specified xmltag as a field, which is given the same name as xmltag:
<field xmltag = "column_1"/>
The following command indexes the content between the start and end tags of the
specified
xmltag
as a field, which is given the name specified in the
fieldname
attribute:
<field xmltag = "column_2" fieldname = "vdk_field_2"/>
The following command indexes the content between the start and end tags of the
specified
xmltag
as a field, overriding any existing value of the field:
<field xmltag = "column_2" index = "override"/>
Note
Both
fieldname
and
index
attributes can be used in a field command.
style.ufl file
If administrators have defined custom fields to be populated in the
style.xml
file,
the fields must also be defined in the
style.ufl
file or
style.sfl
file, using standard
syntax.
style.dft file
To create a collection that contains only XML documents, administrators can modify
the
style.dft
file to invoke the XML filter directly. In this case, the XML documents
do not need a
.xml
extension.
The
style.dft
must include the following lines:
$control: 1
dft:
{
field: DOC
filter="flt_xml"
}
Summary of Contents for COLDFUSION 5-ADVANCED ADMINISTRATION
Page 1: ...Macromedia Incorporated Advanced ColdFusion Administration ColdFusion 5...
Page 20: ......
Page 56: ...38 Chapter 1 Advanced Data Source Management...
Page 74: ...56 Chapter 2 Administrator Tools...
Page 76: ......
Page 86: ...68 Chapter 3 ColdFusion Security...
Page 87: ...To Learn More About Security 69...
Page 88: ...70 Chapter 3 ColdFusion Security...
Page 130: ...112 Chapter 5 Configuring Advanced Security...
Page 132: ......
Page 154: ...136 Chapter 6 Configuring Verity K2 Server...
Page 162: ...144 Chapter 7 Indexing XML Documents...
Page 202: ...184 Chapter 8 Verity Spider...
Page 236: ...218 Chapter 10 Verity Troubleshooting Utilities...
Page 238: ......
Page 348: ...330 Chapter 14 ClusterCATS Utilities...
Page 349: ...Using sniff 331...
Page 350: ...332 Chapter 14 ClusterCATS Utilities...
Page 362: ...344 Chapter 15 Optimizing ClusterCATS...
Page 372: ...354 Index...