Open topic with navigation

# “~” 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”

© 2018 Micro Focus or one of its affiliates | 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