Open topic with navigation

# MetadataAttribute

The name of an attribute to extract information from. If you set this parameter, Web Connector extracts the value of the named attribute on the element(s) selected by the corresponding MetadataSelector numbered parameter, instead of extracting the content of the selected element(s). The attribute value is added to the document field specified by the corresponding MetadataFieldName numbered parameter.

Type: | String
Default: |
Required: | No
Configuration Section: | TaskName or FetchTasks or Default
Example: |
    MetadataSelector0=p.important
    MetadataAttribute0=title
    MetadataFieldName0=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

© 2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm