The <urlinfo> values that return links - allrefs,
frames, iframes, images, and links - can
take an optional flag refInfo in Texis version 8. If this flag
is given, a refInfo object is returned instead of a string
link. This object may then be passed to the various refInfo
API functions to get further details on the link, such as link text,
tag/attribute, etc. See the refInfo API docs
(here) for details.