YouTube Connector 25.3
YouTube Connector Help

# getNamespaces

Use this function to return XPath namespace mappings. This is required if the XPaths used in the script references elements with namespace prefixes. Note that if the anonymous namespace is used in the feed, this function will need to give it a name.

The namespaces are returned as a Lua table with keys and values both as strings:

    {key1="value1", Key2="value2", ...

Inputs: | [NONE]
Outputs: | namespaces (table:{string->string})
See also: |

## Example

    function getNamespaces()
        return { atom="http://www.w3.org/2005/Atom" }
    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: getNamespaces