ODBC Connector 25.1
ODBC Connector Help

# Attribute

The `<Attribute>` element represents an existing attribute in the document metadata.

Place the `<Attribute>` element immediately below any Field element to standardize matching attributes that exist on the metadata field(s).

Metadata field attributes can be matched by exact name, or by regular expression. In addition the attributes can be filtered by value.

Attribute | Description
--- | ---
`name` | The name of an existing attribute to standardize.
`nameRegex` | A regular expression to match the names of existing attributes to standardize.

You can use the following attributes to filter matching attributes by value:

Attribute | Description
--- | ---
`containsRegex` | The attribute value must contain a match to this regular expression.
`matches` | The attribute value must match this value exactly.
`matchesRegex` | The whole attribute value must match this regular expression.

The following example performs operations on all attributes of the field "myField" that have a name beginning with "startsWith".

    <FieldStandardization>
        <Field name="myField">
             <Attribute nameRegex="startsWith.*">
                 ...
             </Attribute>
        </Field>
    </FieldStandardization>

Copyright 2024 Open Text
Version 25.1 | Last updated January 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery ODBC Connector 25.1

Topic Title: Attribute