YouTube Connector 12.12

# “~” Notation

The first non-standard syntax is to add a new character '~' to represent the current node. (The traditional '.' will not work as you might expect - it will always refer to the root node, and, therefore, should not be used - all paths are relative to the root by default.) The XPath expression is preprocessed to replace the '~' with the path to the current node. To represent the character '~' itself, use two of them "~~".

For example, if you are processing an entry in the XML with entry node path `"/root/entry[7]"`, you can reference child elements as either,

        “/root/entry[7]/child”

or in a shorter form as

        “~/child”

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL YouTube Connector 12.12

Topic Title: “~” Notation