You are here: C++ API > Classes > dtsOptions Structure > dtsOptions::xmlIgnoreTags Data Member
dtsOptions::xmlIgnoreTags Data Member
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsOptions::xmlIgnoreTags Data Member

Comma-separated list of tags to ignore when indexing XML

Syntax
C++
char xmlIgnoreTags[512];

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-2020 dtSearch Corp. All rights reserved.