![]() | ![]() | Copyright © 1992, 1997 International Organization for Standardization. All rights reserved. This electronic document is for use during development and review of International Standards. Official printed copies of International Standards can be purchased from the ISO and the national standards organization of your country. | ||
| Next Clause | Previous Clause | |||
The following location address forms provide queries for addressing hyperlinks and their anchors. Both forms are derived from the fundamental queryloc element form (see 7.11.1 Query location address).
The element form hyperlink location address (linkloc) addresses hyperlinks by link type. The content of the linkloc is a list of zero or more GIs. The location source of the linkloc is the document or documents from which links are to be selected. If no GIs are specified, the linkloc addresses all hyperlinks in the location source documents.
NOTE 251 In effect, linkloc selects from HyTime semantic groves derived from the location source documents all nodes whose class is "hyperlink" and whose "typename" property value is equal to one of the link type names specified (see B HyTime Property Set for details).
<!-- Hyperlink location address -->
<![ %linkloc; [
<!notation
HyLnkLoc -- HyTime hyperlink queryloc notation --
-- Clause: 8.3.1 --
-- Constraint: if implied location source is
"ptreert" or "referrer" location source is
document in which the primary tree root or
referrer occur. --
-- Lextype: (csname|literal)+ --
-- Constraint: csnames and literals must be link
types (GIs) in location source. --
-- Constraint: if no link types specified, addresses
all links in location source. --
PUBLIC "ISO/IEC 10744:1997//NOTATION
HyTime Hyperlink Queryloc Notation//EN"
-- CommonAttributes [GenArc]: altreps, included, superdcn --
-- CommonAttributes [base]: bosdatt --
-- CommonAttributes [locs]: egrvplan --
>
<!element
linkloc -- Hyperlink location address --
-- Clause: 8.3.1 --
-- Constraint: if implied location source is
"ptreert" or "referrer" location source is
document in which the primary tree root or
referrer occur. --
- O
(#PCDATA) -- Lextype: (csname|literal)+ --
-- Constraint: csnames and literals must be link
types (GIs) in location source. --
-- Constraint: if no link types specified, addresses
all links in location source. --
-- Attributes [locs]: locsrc, impsrc --
-- Attributes [links]: linkloc --
-- OptionalAttributes [locs]: multloc, referatt, spanloc, treetype --
-- CommonAttributes [GenArc]: dafe, dvlatt, etfullnm, id,
ireftype, lextype, opacity --
-- CommonAttributes [base]: activity, conloc, dtxtatt, valueref --
-- CommonAttributes [locs]: refctl, refloc, reftype, rflocspn --
>
<!attlist
linkloc -- Hyperlink location address --
-- Clause: 8.3.1 --
HyBase NAME #FIXED queryloc
notation NOTATION (HyLnkLoc) #FIXED HyLnkLoc
notfound -- No data found --
NAME -- Lextype: ("ERROR"|"IGNORE") --
ERROR
>
<!entity % locsrc "INCLUDE">
<!entity % impsrc "INCLUDE">
]]><!-- linkloc -->The element form hyperlink anchor location address (anchloc) addresses the anchors of hyperlinks by anchor role name. The content of the anchloc is a list of zero or more anchor role names. If no anchor role names are specified, anchloc addresses all anchors of all hyperlinks in the location source.
The location source of anchloc shall be one or more documents or link elements. For documents, all links in the document are addressed.
NOTE 252 The hyperlink location address form can be used to address all links of a particular type.
NOTE 253 In effect, for each link addressed as the location source, anchloc selects the nodes in the "object" or "members" properties of the anchor or list anchor subnodes whose "rolename" property value matches the anchor role name (see B HyTime Property Set for details).
<!-- Hyperlink Anchor Location Address -->
<![ %anchloc; [
<!notation
HyAncLoc -- HyTime hyperlink anchor queryloc notation --
-- Clause: 8.3.2 --
-- Constraint: location source objects must be
hyperlinks or documents --
-- Constraint: if implied location source is
"ptreert" or "referrer" (and referrer is not a
hyperlink) location source is document in which
the primary tree root or referrer occur. --
-- Lextype: (csname|literal)* --
-- Constraint: csnames and literals are anchor
role names of links in location source. --
-- Constraint: if no anchor roles specified,
addresses all anchors of links in location
source. --
PUBLIC "ISO/IEC 10744:1997//NOTATION
HyTime Hyperlink Anchor Queryloc Notation//EN"
-- CommonAttributes [GenArc]: altreps, included, superdcn --
-- CommonAttributes [base]: bosdatt --
-- CommonAttributes [locs]: egrvplan --
>
<!element
anchloc -- Hyperlink anchor location address --
-- Clause: 8.3.2 --
-- Constraint: location source objects must be
hyperlinks or documents --
-- Constraint: if implied location source is
"ptreert" or "referrer" (and referrer is not a
hyperlink) location source is document in which
the primary tree root or referrer occur. --
- O
(#PCDATA) -- Lextype: (csname|literal)* --
-- Constraint: csnames and literals are anchor
role names of links in location source. --
-- Constraint: if no anchor roles specified,
addresses all anchors of links in location
source. --
-- Attributes [locs]: locsrc, impsrc --
-- Attributes [links]: anchloc --
-- OptionalAttributes [locs]: multloc, referatt, spanloc, treetype --
-- CommonAttributes [GenArc]: dafe, dvlatt, etfullnm, id,
ireftype, lextype, opacity --
-- CommonAttributes [base]: activity, conloc, dtxtatt, valueref --
-- CommonAttributes [locs]: refctl, refloc, reftype, rflocspn --
>
<!attlist
anchloc -- Hyperlink anchor location address --
-- Clause: 8.3.2 --
HyBase NAME #FIXED queryloc
notation NOTATION (HyAncLoc) #FIXED HyAncLoc
notfound -- No data found --
NAME -- Lextype: ("ERROR"|"IGNORE") --
ERROR
>
<!entity % locsrc "INCLUDE">
<!entity % impsrc "INCLUDE">
]]><!-- anchloc -->| Next Clause | Previous Clause |
HTML generated from the original SGML source using a DSSSL style specification and the SGML output back-end of the JADE DSSSL engine.