You are here: C++ API > Classes > dtsOptions2 Structure > dtsOptions2::xmlIgnoreTags Data Member
dtsOptions2::xmlIgnoreTags Data Member
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsOptions2::xmlIgnoreTags Data Member
Syntax
C++
const char * xmlIgnoreTags;

Comma-separated list of tags to ignore when indexing XML

If your XML data includes HTML tags like P, B, I, etc., use XmlIgnoreTags to prevent these tags from affecting the field structure of XML. Example:

options.XmlIgnoreTags = "b,p,i,u,h1,h2,h3,br,hr"

You can also use wildcards to exclude tags, like this:

options.XmlIgnoreTags = "h?,id*"
Copyright (c) 1995-2021 dtSearch Corp. All rights reserved.