12.5.8. Addresses

An address object shall be used as the destination of a hypertext link. An address object represents the address of one or more objects.

(address? obj)

Returns #t if obj is an object of type address, and otherwise returns #f.

(address-local? address)

Returns #t if the address is local to the current document, and otherwise returns #f.

(address-visited? address)

Returns #t if address has been visited, and otherwise returns #f.

(hytime-linkend)

Returns an object of type address. The current node shall be an element conforming to the clink architectural form as defined in ISO/IEC 10744. The address identifies the linkend of the current node.

(idref-address string)

The string is divided into one or more space-separated tokens, and an object of type address shall be returned representing the elements whose unique ID is one of the tokens.

(current-node-address)

Returns an address object representing the current node.

(entity-address string)

The string is divided into one or more space-separated tokens, and an object of type address shall be returned representing the entities whose names are the tokens.

(sgml-document-address string1 string2)

string1 shall be the system identifier of an SGML document entity and string2 shall be a unique ID in that SGML document. Returns an address object representing the element in the SGML document that has that unique ID.

(node-list-address node-list)

Returns an address object representing the nodes in node-list. This procedure requires the query feature.

NOTE 52: External procedures may be used to allow other addressing mechanisms.