HyTime Clause 8: Location address module

From ISO/IEC 10744:1992.

© International Organization for Standardization 1992. Permission to copy in any form is granted for use with conforming HyTime systems and applications as defined in ISO/IEC 10744, provided this notice is included in all copies.


8.2.1 Location source

<!attlist locsrc locsrc IDREFS #IMPLIED>

locsrc
location source
Constraint: No HyTime reftype constraints
Default: previous specified

8.2.2 Multiple location

<!attlist multloc
ordering (ordered | noorder) noorder
set (set | notset) notset
aggloc (aggloc | agglink | nagg) nagg>

ordering
Is ordering of locations significant?
set
Make multiple a set by ignoring duplicates
aggloc
Are multiple locations an aggregate?

8.2.3 Span location

<!attlist spanloc
spanloc (spanloc | spanlink | nspan) nspan
limsort (limsort | nlimsort) nlimsort>

spanloc
Do multiple locations comprise a span?
Constraint: spanlink requires hyperlinks module
limsort
Are limits sorted with span start first?

8.3.2.1 Named location address

<!element nameloc - O (nmlist | nmquery)*>

<!attlist nameloc
HyTime NAME nameloc
id ID #REQUIRED
-- multloc attributes --
-- spanloc attributes --
-- common attributes -->

#CONTENT
Assigns a local ID to one or more named objects
Constraint: name list derived from content elements.

8.3.2.2 Name list specification

<!element nmlist - O (#PCDATA)>

<!attlist nmlist
HyTime NAME nmlist
nametype (entity | element | unified) #REQUIRED
obnames (obnames | nobnames) #REQUIRED
docorsub ENTITY #IMPLIED
dtdorlpd NAMES #IMPLIED
-- common attributes -->

#CONTENT
List of local or external ID or entity names
lextype(NAMES)
nametype
Entity names or IDs of elements
obnames
Objects treated as names?
docorsub
SGML document or subdoc whose prolog declares entities or elements used in name list; initially the document in which this occurs.
Default: no change
dtdorlpd
Active DTD or LPDs for SGML document entity. Base DTD if unspecified and docorsub changed; no change if unspecified and docorsub unchanged.
lextype(DTD|LPD+)
Default: unchanged or base

8.4.1 Data location address

<!element dataloc - O (dimlist*)>

<!attlist dataloc
HyTime NAME dataloc
id ID #REQUIRED
quantum (str | norm | word | name | sint | data | time | utc) str
catsrc (catsrc | nocatsrc) nocatsrc
catres (catres | nocatres) nocatres
-- overrun attributes --
-- locsrc attributes --
-- multloc attributes --
-- spanloc attributes --
-- common attributes -->

#CONTENT
Locates string and token data objects in data
Constraint: dimlists are concatenated into one list
quantum
Data quantum: bit combination or token
catsrc
Concatenate multiple source objects into a single object before applying dimlist to it
catres
Concatenate results of applying dimlist, in the order of the dimlist

8.4.2.3 Tree combination

<!attlist treecom treecom (treecom | ntreecom) ntreecom>

treecom
Combine multiple source trees

8.4.2.4 Tree location address

<!element treeloc - O (marklist*)>

<!attlist treeloc
HyTime NAME treeloc
id ID #REQUIRED
-- overrun attributes --
-- treecom attributes --
-- locsrc attributes --
-- multloc attributes --
-- spanloc attributes --
-- common attributes -->

#CONTENT
Locates nodes in a tree by classical method
Constraint: marklists are merged into a single list that contains 1st markers only; implied marker2 is 1

8.4.2.5 Path location address

<!element pathloc - O (dimlist*)>

<!attlist pathloc
HyTime NAME pathloc
id ID #REQUIRED
-- overrun attributes --
-- treecom attributes --
-- locsrc attributes --
-- multloc attributes --
-- spanloc attributes --
-- common attributes -->

#CONTENT
Locates nodes in a tree viewed as a path list
Constraint: dimlists are merged into a single list that resolves to pairs of dimspecs

8.4.2.6 List location address

<!element listloc - O (dimlist*)>

<!attlist listloc
HyTime NAME listloc
id ID #REQUIRED
-- overrun attributes --
-- locsrc attributes --
-- multloc attributes --
-- spanloc attributes --
-- common attributes -->

#CONTENT
Locates nodes in a node list viewed as a list

8.4.2.7 Relative location address

<!element relloc - O (dimlist*)>

<!attlist relloc
HyTime NAME relloc
id ID #REQUIRED
root IDREFS #IMPLIED
relation (anc | esib | ysib | des | parent | children) parent
-- overrun attributes --
-- locsrc attributes --
-- multloc attributes --
-- spanloc attributes --
-- common attributes -->

#CONTENT
Locates nodes in a tree relative to a starting node
Constraint: dimlists are merged into a single list that resolves to pairs of dimspecs
root
Root of tree
Constraint: 1 per starting node or 1 for all
Default: document root of each starting node
relation
Relationship to starting node
Constraint: des requires "pathloc" option

8.5.1 Property location address

<!element proploc - O (qpn | #PCDATA)>

<!attlist proploc
HyTime NAME proploc
id ID #REQUIRED
joint (joint | several) several
apropsrc (apropsrc | solesrc) solesrc
notprop (error | empty | ignore) ignore
-- locsrc attributes --
-- multloc attributes --
-- common attributes -->

#CONTENT
Locates attribute or other property
lextype(QPN)
joint
Joint property of relationship of members of multiple locsrc?
apropsrc
Use additional property source?
notprop
If not a property of locsrc or apropsrc?

8.5.2 Notation-specific location address

<!element notloc - O (%HyBrid;)*>

<!attlist notloc
HyTime NAME notloc
id ID #REQUIRED
-- query attributes --
-- function attributes --
-- multloc attributes --
-- common attributes -->

#CONTENT
Locates an arbitrary portion of data in terms of its data content notation (e.g., internal label, 3rd polygon in graphics notation). Query that returns object, rather than address

8.5.3 Bibliographic location address

<!element bibloc - O (%HyBrid;)*>

<!attlist bibloc
HyTime NAME bibloc
id ID #REQUIRED
-- query attributes --
-- function attributes --
-- common attributes -->

#CONTENT
Textual bibliographic reference to real object
Represents an address that is processable only as data

8.7.1 Query attributes

<!attlist query
qdomain IDREFS #IMPLIED
qcontext IDREF #IMPLIED>

qdomain
Domain of the query
For some query notations, domain is inherent and this attribute will be ignored.
Constraint: No HyTime reftype constraints
Default: inherent in query
qcontext
Semantic and parsing context for domain
reftype(HyBrid)
Default: inherent in query

8.7.2 Name list query

<!element nmquery O O (%HyBrid;)*>

<!attlist nmquery HyTime NAME nmquery
-- query attributes --
-- function attributes --
-- common attributes -->

#CONTENT
Query that returns a name list
Selects elements or data by semantic properties
Examples: DSSSL query; HyQ

8.7.3 Axis marker query

<!element mrkquery O O (%HyBrid;)*>

<!attlist markquery HyTime NAME mrkquery
-- query attributes --
-- function attributes --
-- common attributes -->

#CONTENT
Queries an ordered domain and returns axis markers of objects that satisfy query
Constraint: represents axis markers in form required by context: single marker, marker pair, etc.

Best viewed with any browser.

Valid HTML
2.0! Last updated and validated 31 May 2001.