Standard Music Description Language (SMDL)
ISO/IEC DIS 10743


11 Invoking the SMDL Architecture in a Document

11.1 Declaration that the Structure of the Document is a Derived from a Base Architecture

An SMDL document must indicate the fact that its architecture is derived from a base architecture by means of the APPINFO parameter of its SGML declaration. The keyword ArcBase is specified as a sub-parameter of the APPINFO parameter of the SGML declaration. It might appearin the SGML declaration of the document as follows:

APPINFO ArcBase

NOTE 56
There may be other sub-parameters, in addition to "ArcBase."

This indicates to the document processing system that there may be "ArcBase" processing instructions in the document that will specify the base architectures that are in effect.

NOTE 57
In effect, this is an invocation of the "Base Architecture" identification facility found in Annex C of the HyTime International Standard. It does not inv oke the HyTime architecture.

11.2 Declaration that the Document' s Architecture is Derived from SMDL

An SMDL document must indicate the fact that its architecture is derived from the SMDL base architecture by means of an ArcBase processing instruction. In SGML's reference concrete syntax, it would appearas follows:

<?ArcBase SMDL>

This processing instruction establishes that SMDL is the document's local name forone of its base architectures, and that after this processing instruction, the document processing system can expect to find:

11.2.1 Declaration of SMDL as a Notation

The following SGML NOTATION declaration points tothe this International Standard. The ATTLIST that follows it defines the attribute list of the SMDL notation. Both of these declarations (or their equivalents) should appear in the prolog of every SMDL document.

<!NOTATION SMDL PUBLIC
"ISO/IEC 10743:1996//NOTATION
SMDL Architecture Definition Document//EN"
--A document architecture conforming to
the Architectural Form Definition Requirements of
International Standard ISO/IEC 10743. --
>
<!ATTLIST #NOTATION SMDL
ArcFormA
--name of attribute that identifies the architectural
form to which an SMDL element conforms. --
NAME #FIXED "SMDL"
ArcNamrA
--name of attribute that allows aliasing of attribute
names defined by SMDL. --
NAME #FIXED "SMDLNms"
ArcBridA
--name of attribute that specifies bridging between
SMDL elements and non-SMDL elements. --
NAME #FIXED "SMDLBrid"
ArcDocF
--name of architectural form that SMDL requires as
the documentelement. --
NAME #FIXED work
ArcVer
--version of SMDL towhich this document conforms --
CDATA #FIXED 1996
ArcSGML
--entity containing the SGML declaration applicable
to the SMDL meta-DTD --
ENTITY #IMPLIED
--Default: SGML declaration is in the meta-DTD entity. --
>

NOTE 58
The above declarations are set forth in this International Standard for use in SMDL documents, and they may appear in such documents verbatim. However, in the prolog of any particular SMDL document, these declarations could conceivably be go verned by an SGML declaration that defines a concrete syntax other than SGML's Reference Concrete Syntax. In such a case, they might not look exactly like the abo ve declarations, but they would have the same effect.

11.2.2 Declaration Template for the SMDL Meta-DTD Entity

The following SGML ENTITY declaration points to a file (here named "mysmdl.mtd") containing those formalized SGML aspects of this International Standard (i.e., those portions of the SMDL meta-DTD), which are actually in effect for this application. An ENTITY declaration having the same effect as this one must appear in the prolog of all SMDL documents.

<!ENTITY SMDL
--meta-DTD for SMDL architecture --
SYSTEM "mysmdl.mtd" CDATA SMDL [ArcSGML=mysmdl.sgmldecl]
>

NOTE 59
The above ENTITY declaration illustrates a scenario in which the SGML declaration governing the meta-DTD is in a separate file named mysmdl.sgmldecl.


[ Index | Previous Paragraph | Next Paragraph ]