Using a suitable query, find() can be used as a special item or group designator. The function returns a list of the$Path for all matching note(s).
In an item-scope context, care should be taken in constructing the query so that only one note is matched.
Designators don't allow offset references as with attributes. Thus $Name("Some note") works but children("Some note") doesn't. If an offset designator is needed use find() instead.