YouTube Connector 25.3
YouTube Connector Help

# [prefix_]getEntryMetadataXPaths

Use this function to return field names mapping to XPaths referencing the field values. `DRECONTENT` can be used as the field name when assigning into the document content. The `DREDATE` field and any field names ending with `_DATE` are converted to a standard date format using the `getDateFormats` function.

Inputs: | xml (XmlDocument), document (Document)
Outputs: | xpaths (table:{string->string} or table:{string->list:{string}})
See also: | getDateFormats

## Example

    function myPrefix_getEntryMetadataXPaths(xml, document)
       cache_result()
       return { TITLE="~/atom:title", LINK="~/atom:link[@rel=alternate]/@href" }
    end

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 YouTube Connector 25.3

Topic Title: [prefix_]getEntryMetadataXPaths