Web Connector 25.3
Web Connector Help

# MetadataAttribute

The name of an attribute to extract information from. Set this parameter to extract the value of the named attribute on the element(s) selected by the MetadataSelector parameter, instead of extracting the content of the selected element(s). The attribute value is added to the document field specified by MetadataFieldName.

Type: | String
Default: |
Required: | No
Configuration Section: | Any section specified by MetadataFieldSections, ChildDocumentMetadataFieldSections, or ChildMetadataFieldSections
Example: |
    [MyTask]
    MetadataFieldSections=ExtractMetadata

    [ExtractMetadata]
    MetadataSelector=p.important
    MetadataAttribute=title
    MetadataFieldName=TITLE
This example matches the following elements in the HTML...
    <p class="important" title="the title">This is some text</p>
    <p class="important" title="another title">Some more text</p>
...and produces the following document fields:
    #DREFIELD TITLE="the title"
    #DREFIELD TITLE="another title"
See Also: | MetadataSelector MetadataFieldName

Copyright 2025 Open Text
Version 25.3 | Last updated July 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 Web Connector 25.3

Topic Title: MetadataAttribute