附属書Aで示すメタDTDは規定とするが,適合応用は,異なるSGML宣言を使用するために要求される差異を除きそれ以外のすべての点で同じとなる,メタDTDを使用してもよい。
備考 例えば,ここで示すメタDTDは,XML(WebSGML)応用で使用される場合には,ある構文的な詳細において異なることがある。
<!-- HyTime architectural support declarations -->
<?IS10744 ArcBase HyTime>
<!NOTATION HyTime
PUBLIC "ISO/IEC 10744:1997//NOTATION AFDR ARCBASE
Hypermedia/Time-based Structuring Language (HyTime)//EN"
>
<!ATTLIST #NOTATION HyTime
ArcFormA NAME HyTime
ArcNamrA NAME HyNames
ArcSuprA NAME sHyTime
ArcIgnDA NAME HyIgnD
ArcDocF NAME #FIXED HyDoc
ArcDTD CDATA "HyTime"
ArcQuant CDATA #FIXED "NAMELEN 12"
ArcDataF NAME #FIXED HyBridN
ArcBridF NAME #FIXED HyBrid
ArcAuto (ArcAuto|nArcAuto) nArcAuto
ArcOptSA NAMES "base links locs"
hyqcnt NUMBER 32
base CDATA "bos bosspec"
locs CDATA "agrovdef bibloc dataloc datatok grovplan listloc
mixedloc multloc nameloc nmsploc pathloc
pgrovdef proploc queryloc referatt refloc
reftype relloc spanloc treecom treeloc treetype"
links CDATA "varlink"
exrefs NAME exrefs
manyanch NUMBER #IMPLIED
>
<!NOTATION AFDRMeta
PUBLIC "ISO/IEC 10744//NOTATION AFDR Meta-DTD Notation//EN"
>
<!ENTITY HyTime
PUBLIC "ISO/IEC 10744//DTD AFDR Meta-DTD
Hypermedia/Time-based Structuring Language (HyTime)//EN"
CDATA AFDRMeta
>
<!-- HyTime common attributes -->
<!-- The attribute form "HyTime common attributes"
(common) declares the HyTime attributes shared by all
topic map forms. -->
<!attlist
-- Common --
-- HyTime common attributes --
-- HyTime Clause A.5.2, 7.8 --
#ALL
id -- Unique identifier --
ID
#IMPLIED -- Default: None --
-- refloc -- -- Reference Location Address --
-- HyTime Clause: 7.8 --
#ALL
loctype -- Reference location addresses type --
-- Each named attribute treated as if it were an
IDREF to a location address element. --
-- Constraint: The declared values of named
attributes must be lexically compatible with
their specified interpretation. --
-- Note: The declared value CDATA always meets this
requirement. --
CDATA -- Lextype: (ATTORCON,("IDLOC"|"TREELOC"|
"PATHLOC"|"RELLOC"|
("QUERYLOC",NOTATION)))+ --
#IMPLIED -- Constant --
-- Default: All references use SGML IDREFs, and each
IDREF in an IDREFS attribute is considered
separately --
rflocsrc -- Reference location source --
-- Associates referential attributes with their
location sources. --
CDATA -- Lextype: (ATTORCON,ATTORCON)+ --
-- Constraint: Attributes named must be referential
attributes. --
#IMPLIED -- Constant --
-- Default: All referential attributes have this
element as their location source. --
-- rflocspn -- -- Reference location span --
-- HyTime Clause: 7.8 --
#ALL
rflocspn -- Reference location span --
-- Names pairs of referential attributes that
address spans when both attributes are
specified. --
CDATA -- Lextype: (ATTORCON,ATTORCON)+ --
-- Constraint: Attributes named must be referential
attributes. --
#IMPLIED -- Constant --
>
<!-- HyTime meta-DTD content model parameter entities -->
<!entity %
HyCFC -- HyTime context-free content --
-- Note: %loc, %link, %resorce qualify but are used
as meta-inclusions rather than meta-proper-
subelements --
"HyBrid"
>
<!entity %
loc -- Location address forms --
"anchloc|bibloc|dataloc|fcsloc|linkloc|listloc|mixedloc|nameloc|
nmsploc|pathloc|proploc|queryloc|relloc|treeloc"
>
<!entity %
link -- Hyperlink forms --
"varlink"
>
<!entity %
resbase -- Base module resource forms --
"bosspec"
>
<!entity %
resloc -- Location address module resource forms --
"agrovdef|datatok|grovplan|pgrovdef"
>
<!entity %
resorce -- All resource architectural forms --
"%resbase;|%resloc;"
>
<!-- HyTime document element form -->
<!element
HyDoc -- HyTime document element --
-- HyTime Clause: 6.4 --
- O
(%HyCFC;)*
+(%link;|%loc;|%resorce;)
-- OptionalAttributes [base]: bos, bosspcat --
-- OptionalAttributes [locs]: dgrvplan --
-- CommonAttributes [locs]: refloc, reftype, rflocspn --
>
<!attlist
-- bos -- -- HyTime bounded object set --
-- HyTime Clause: 6.5.1 --
(HyDoc)
maxbos -- Maximum bounded object set level --
-- Bounding level of HyTime bounded object set when
document is a hub or subhub. --
NUMBER -- Constraint: Depth of nested entities to include
in BOS (0=no limit, 1=hub only) --
0
boslevel -- Bounded object set level --
-- Default BOS level used by data entities declared
in hub document. --
NUMBER -- Constraint: Depth of nested entities to include
in BOS (0=no limit, 1=this entity only) --
#IMPLIED -- Default: No HyTime BOS --
-- bosspcat -- -- BOS except specification attributes --
-- HyTime Clause: 6.5.3 --
bosspec -- Bounded object set exception specification --
-- Adjustments to be made to the bounded object
set. --
IDREFS -- Reference --
-- Reftype: bosspec+ --
-- Constraint: Must be internal reference --
#IMPLIED -- Default: No BOS exception specification --
-- dgrvplan -- -- HyTime document grove plan --
-- HyTime Clause: 7.1.4.1 --
grovplan -- Grove plan --
-- Grove plan for HyTime extended SGML document
grove --
CDATA -- Reference --
-- Reftype: grovplan --
#IMPLIED -- Default: HyTime default grove plan --
>
<!-- HyTime bounded object set control forms -->
<!-- HyTime BOS control data attributes -->
<!attlist #NOTATION
-- bosdatt -- -- HyTime BOS control data attributes --
-- HyTime Clause: 6.5.2 --
#ALL
boslevel -- BOS level --
-- Bounded object set level for the entity --
NUMBER -- Constraint: Depth of nested entities to include
in BOS (0=no limit, 1=this entity only) --
#IMPLIED -- Default: Value of boslevel attribute of HyDoc
element. --
inbos -- Include in BOS --
-- Unconditional include in, or exclude from, BOS --
(inbos|notinbos)
#IMPLIED -- Default: Inclusion controlled by BOS level --
bosprrty -- Bounded object set priority --
-- Default BOS priority of objects in entity tree
rooted at this entity. --
(foregrnd|backgrnd)
foregrnd
subhub -- Is entity a subhub? --
(subhub|nosubhub)
nosubhub
>
<!-- HyTime bounded object set exception specification -->
<!element
bosspec -- Bounded object set exception specification --
-- HyTime Clause: 6.5 --
-- Used to affect the HyTime BOS by overriding the
inclusion or exclusion and priority of the
entities identified by the BOS path or paths
given as content. --
- O
(#PCDATA) -- Lextype: ((ENTITY,(csname|literal)*)|
(GRPO,ENTITY,(csname|literal)*,GRPC)+)
--
-- Constraint: If parentheses are used, each
parenthesized list is a separate BOS path. --
-- Constraint: Each word or literal in a BOS path is
the name of an entity declared in the entity
identified by the previous word, literal, or
entity name. --
-- Attributes [base]: bosspec --
-- Referrers [base]: HyDoc:bosspec --
>
<!attlist
bosspec -- Bounded object set exception specification --
-- HyTime Clause: 6.5 --
boslevel -- BOS level --
-- The BOS level from the last entity named in
each specified BOS path to be affected by this
bosspec. --
NUMBER -- Constraint: Depth of nested entities to include
in BOS (0=no limit, 1=last entity only) --
1
inbos -- Include in BOS --
-- Unconditionally include or exclude objects
declared by the last entity named in each BOS
path, to the BOS level specified by this
bosspec's boslevel attribute. --
(inbos|notinbos)
#IMPLIED -- Default: BOS unaffected --
bosprrty -- Bounded object set priority --
-- Unconditionally specify the BOS priority of
objects declared by the last entity named in each
BOS path, to the BOS level specified by this
bosspec's boslevel attribute. --
-- Note: The semantic of the bosprrty attribute is
not affected by the value of the inbos attribute
(that is, whether it is explicitly "inbos" or the
value is implied). --
(foregrnd|backgrnd)
#IMPLIED -- Default: No priority change --
>
<!-- Topic Map specific architectural forms -->
<!entity %
TMCFC -- Topic map context-free content --
"topic|assoc|facet|bosspec|addthms|TMBrid"
>
<!element
TMBrid -- Topic map bridge element --
- O
ANY
>
<!element
topicmap -- Topic map document element --
-- Clause: 5.1 --
- O
(%TMCFC;)*
>
<!attlist
topicmap
HyTime -- HyTime architectural form name --
NAME
HyDoc -- HyTime document element. (This
attribute definition is redundant; it
appears here as an aid to
understanding.) --
addthems -- Added themes --
-- Themes to add to all scopes that govern
the assignments of topic names,
occurrences, and roles played in
associations in this topic map
document. --
CDATA -- Reference --
-- Reftype: topic+ --
#IMPLIED -- Default: No themes added via this
attribute. --
-- bos -- -- HyTime bounded object set --
-- HyTime Clause: 6.5.1 --
maxbos -- Maximum bounded object set level --
-- Bounding level of HyTime bounded object
set when document is a hub or
subhub. --
NUMBER -- Constraint: Depth of nested entities to
include in BOS (0=no limit, 1=hub only)
--
0
boslevel -- Bounded object set level --
-- Default BOS level used by data entities
declared in hub document. --
NUMBER -- Constraint: Depth of nested entities to
include in BOS (0=no limit, 1=this
entity only) --
#IMPLIED -- Default: No HyTime BOS --
-- bosspcat -- -- BOS exception specification attributes
--
-- HyTime Clause: 6.5.3 --
bosspec -- Bounded object set exception
specification --
-- Adjustments to be made to the bounded
object set. --
IDREFS -- Reference --
-- Reftype: bosspec+ --
-- Constraint: Must be internal reference
--
#IMPLIED -- Default: No BOS exception specification
--
-- dgrvplan -- -- HyTime document grove plan --
-- HyTime Clause: 7.1.4.1 --
grovplan -- Grove plan --
-- Grove plan for HyTime extended SGML
document grove --
CDATA -- Reference --
-- Reftype: grovplan --
#IMPLIED -- Default: HyTime default grove plan --
>
<!element
topic -- Topic link --
-- Clause: 5.2.1 --
- O
( topname | occurs)*
>
<!attlist
topic
HyTime -- HyTime architectural form name --
(varlink|HyBrid)
varlink -- Constraint: varlink must be specified
when occurrences exist. If topic has no
occurrences, it must be declared as a
HyTime bridge element (HyBrid). --
id -- Unique identifier --
ID
#REQUIRED
identity -- Subject identity --
-- Reference to information (one or more
subject descriptors) that confers
understanding of the identity of the
subject of this topic link. --
CDATA -- Reference --
#IMPLIED -- Default: No subject descriptors; the
subject must be inferred from the
topic's characteristics. --
types -- Topic types --
-- Topics whose subjects are the classes
of topics of which this topic is an
instance. --
CDATA -- Reference --
-- Reftype: topic+ --
#IMPLIED -- Default: No class-instance topic
associations are established via this
attribute. --
-- Note: Some might still be specified by
topic association links, however. --
scope -- Scope --
-- The themes that are added to the scopes
of all the names and occurrences
specified by this topic link. --
CDATA -- Reference --
-- Reftype: topic+ --
#IMPLIED -- Default: No themes are added by this
attribute. --
linktype -- Hyperlink type --
NAME
#IMPLIED -- Default: Generic identifier --
>
<!element
topname -- Topic name --
-- Clause 5.2.2--
O O
(basename+, dispname*, sortname* )
-- If dispnames or sortnames are not
specified, applications use basenames
for display and sorting purposes. --
>
<!attlist
topname
scope -- Scope --
-- Reference to a set of themes (topic
links) to be added to the scopes of the
name characteristics specified by the
contained basename, dispname, and
sortname elements. Scopes are sets of
themes that collectively define the
limited context within which
characteristics are validly applicable
to the topic. --
CDATA -- Reference --
-- Reftype: topic+ --
#IMPLIED -- Default: No themes are added via this
attribute. --
>
<!element
(basename | sortname)
-- Base name --
-- and --
-- Name to be used as sort key --
- O
(#PCDATA) -- String to be used as name --
>
<!element
dispname -- Display name --
- O
(#PCDATA|TMBrid)*
-- String (or notation data) to be
displayed as name --
>
<!attlist ( basename | sortname | dispname)
scope -- Scope --
-- References to a set of themes (topic
links) to be added to the scope of the
name characteristic specified in the
content. --
CDATA -- Reference --
-- Reftype: topic+ --
#IMPLIED -- Default: No themes are added via this
attribute. --
>
<!element
occurs -- Topic occurrence --
-- Clause: 5.2.3 --
- O
(%loc;)*
>
<!attlist
occurs
HyTime -- HyTime architectural form name --
NAME
#FIXED
anchspec
scope -- Scope --
-- Reference to themes that are added to
the scope within which the occurrences
are applicable to the topic
characterized by the containing topic
link.--
CDATA -- Reference --
-- Reftype: topic+ --
#IMPLIED -- Default: No themes are added to the scope
by means of this attribute. --
occrl -- Occurrence role name --
-- Note: Not displayed for the topic map
user if the topic referenced by the
type attribute has displayable
characteristics within the user's
scope. --
NAME
#IMPLIED -- Default: GI of element is treated as
occurrence role name. --
type -- Occurrence role type --
-- Reference to the topic that names
and/or otherwise characterizes the
occurrence role. The characteristics
of the referenced topic, if
appropriate, will be displayed to the
user instead of the value of the occrl
attribute. --
CDATA -- Reference --
-- Reftype: topic --
#IMPLIED -- Default: No topic characterizes the
occurrence role, unless this element is
an occurrence (with an occurrence role
whose meaning is instance) of a topic
whose subject is the nature of the
occurrence role. The value of the
occrl attribute will be displayed as
the occurrence role name. --
linktrav -- Hyperlink traversal rules --
-- Traversal between anchors of hyperlinks:
A any traversal or departure (EID)
D departure after internal arrival
E traversal after external arrival
I traversal after internal arrival
N no traversal after internal arrival
P no internal arrival
R return traversal after internal arrival --
NAMES -- Lextype: ("A"|"EI"|"ER"|"ED"|"EN"|"EP"|"ERD"|
"I"|"ID"|"D"|"N"|"P"|"R"|"RD") --
A
listtrav -- List traversal rules --
-- Traversal between members of list anchors:
A adjacent (both left and right) traversal
L left traversal
N no traversal
R right traversal
W wrapping traversal --
NAMES -- Lextype: ("A"|"AW"|"L"|"LW"|"N"|"R"|"RW") --
N -- Default: Show the whole list --
multmem
(single|list|corlist)
list
emptyanc
(error|noterror)
error
HyNames
CDATA
"anchrole occrl"
>
<!element assoc -- Association link --
-- Clause: 5.3.1 --
- O (assocrl)+ >
<!attlist assoc
HyTime -- HyTime architectural form name --
NAME
#FIXED
varlink
scope -- Scope --
-- Reference to themes that are added to
the scope within which the association
is applicable. --
CDATA -- Reference --
-- Reftype: topic+ --
#IMPLIED -- Default: Scope is unconstrained. --
linktype -- Hyperlink type. --
-- Mnemonic name for the association
type. --
-- Note: Not displayed for the topic map
user if the topic referenced by the
type attribute has displayable
characteristics within the user's
scope. --
NAME
#IMPLIED -- Default: Generic identifier --
type -- Association type --
-- Topic whose subject is the class of
association of which this association
is an instance. --
CDATA -- Reference --
-- Reftype: topic --
#IMPLIED -- Default: No type is specified by this
attribute. --
-- Note: A type might exist by virtue of
the fact that this association link is
an occurrence (where the occurrence
role means "instance") of a topic whose
subject is the nature of the
association, however. --
>
<!element
assocrl -- Association role --
-- Clause: 5.3.2 --
- O
(%loc;)+ -- Reftype: topic+ --
>
<!attlist
assocrl
HyTime -- HyTime architectural form name --
NAME
#FIXED
anchspec
anchrole -- Anchor role --
-- Note: Not displayed for the topic map
user if the topic referenced by the
type attribute has displayable
characteristics within the user's
scope. --
NAME
#IMPLIED -- Default: GI of element is treated as
anchor role. --
type -- Association role type --
-- Reference to the topic that names
and/or otherwise characterizes the
association role. The characteristics
of the referenced topic, if
appropriate, will be displayed to the
user instead of the value of the
anchrole attribute. --
CDATA -- Reference --
-- Reftype: topic --
#IMPLIED -- Default: No topic characterizes the
association role, unless this element
is an occurrence (with an occurrence
role whose meaning is instance) of a
topic whose subject is the nature of
the association role. The value of the
anchrole attribute will be displayed as
the association role name. --
linktrav -- Hyperlink traversal rules --
-- Traversal between anchors of hyperlinks:
A any traversal or departure (EID)
D departure after internal arrival
E traversal after external arrival
I traversal after internal arrival
N no traversal after internal arrival
P no internal arrival
R return traversal after internal arrival --
NAMES -- Lextype: ("A"|"EI"|"ER"|"ED"|"EN"|"EP"|"ERD"|
"I"|"ID"|"D"|"N"|"P"|"R"|"RD") --
A
listtrav -- List traversal rules --
-- Traversal between members of list anchors:
A adjacent (both left and right) traversal
L left traversal
N no traversal
R right traversal
W wrapping traversal --
NAMES -- Lextype: ("A"|"AW"|"L"|"LW"|"N"|"R"|"RW") --
N -- Default: Show the whole list --
multmem
(single|list|corlist)
list
emptyanc
(error|noterror)
error
>
<!element
addthms -- Themes to be added --
-- (To scopes specified by topic map
documents and/or by topic links and/or
association links.) --
-- Clause: 5.4 --
- O
(TMBrid)* -- No content defined by the Topic Maps
architecture --
>
<!attlist
addthms -- Themes to be added --
-- Clause: 5.4 --
addthems -- Added themes --
-- Themes to be added to the scopes
specified by the tmdocs and cassign
attributes --
CDATA -- Reference --
-- Reftype: topic+ --
#REQUIRED
tmdocs -- Topic map document entities --
ENTITIES -- Constraint: Must be one or
more document entities of
topic map documents. --
#IMPLIED
cassign -- Characteristic assigners --
-- Elements that assign characteristics to
topics. The themes specified by the
addthms attribute are to be added to
the scopes within which the
characteristics they specify are
regarded as valid --
CDATA -- Reference --
-- Reftype: (topic | topname | basename |
dispname | sortname | occurs | assoc)+
--
#IMPLIED
>
<!element
facet -- Facet link --
-- Clause: 5.5.1 --
- O
(fvalue)+
>
<!attlist facet
HyTime -- HyTime architectural form name --
NAME
#FIXED
varlink
linktype -- Hyperlink type. --
-- Mnemonic name for the property (facet
type). --
-- Note: Not displayed for the topic map
user if the topic referenced by the
type attribute has displayable
characteristics within the user's
scope. --
NAME
#IMPLIED -- Default: Generic identifier --
type -- Facet type --
-- Topic whose subject is the property of
the property/value pair(s) being
assigned to the anchor(s). --
CDATA -- Reference --
-- Reftype: topic --
#IMPLIED -- Default: No facet type topic is
specified by this attribute. --
-- Note: A facet type topic might exist by
virtue of the fact that this facet link
is an occurrence (where the occurrence
role means "instance") of a topic whose
subject is the nature of the property,
however. --
>
<!element
fvalue -- Facet value --
-- Clause: 5.5.2 --
- O
(%loc;)*
>
<!attlist
fvalue
HyTime -- HyTime architectural form name --
NAME
#FIXED
anchspec
facetval -- Facet value name --
-- Token is value of property being
assigned. --
NAME
#IMPLIED -- Default: Facet value name is GI of
element. --
type -- Facet value type --
-- Reference to a topic whose subject is
the significance of the facet value
name. --
CDATA -- Reference --
-- Reftype: topic --
#IMPLIED -- Default: No facet value type topic is
specified by this attribute. --
-- Note: A facet value type topic might
exist by virtue of the fact that this
fvalue element is an occurrence (where
the occurrence role means "instance")
of a topic whose subject is the
significance of the facet value name,
however. --
linktrav -- Hyperlink traversal rules --
-- Traversal between anchors of hyperlinks:
A any traversal or departure (EID)
D departure after internal arrival
E traversal after external arrival
I traversal after internal arrival
N no traversal after internal arrival
P no internal arrival
R return traversal after internal arrival --
NAMES -- Lextype: ("A"|"EI"|"ER"|"ED"|"EN"|"EP"|"ERD"|
"I"|"ID"|"D"|"N"|"P"|"R"|"RD") --
A
listtrav -- List traversal rules --
-- Traversal between members of list anchors:
A adjacent (both left and right) traversal
L left traversal
N no traversal
R right traversal
W wrapping traversal --
NAMES -- Lextype: ("A"|"AW"|"L"|"LW"|"N"|"R"|"RW") --
N -- Default: Show the whole list --
multmem
(single|list|corlist)
list
emptyanc
(error|noterror)
noterror
HyNames
CDATA
"anchrole facetval"
>