Syntax

Simulation Module Markup Language

Home

Vision

Overview

Semantics

Examples

Java tools

Download

Document Type Definition

The following lists the DTD specification for the SMML prototype.



<!ELEMENT compound  (doc|date|units|creator|keywords|version|link|lut|dynamic|atom|compound|port)* >
<!ATTLIST compound  id        ID     #REQUIRED
                    name      CDATA  #IMPLIED 
                    extends   CDATA  #IMPLIED 
                    location  CDATA  #IMPLIED>

<!ELEMENT atom  (doc|date|units|creator|keywords|version|dynamic|port)* >
<!ATTLIST atom 
	id      ID               #REQUIRED
	type  	(aux|flux|state) "aux" 
        name    CDATA            #IMPLIED
        extends CDATA            #IMPLIED
        status  (public|private) "public" 
	mode  	(input|code)     "code"  >

<!ELEMENT link EMPTY >
<!ATTLIST link
        name            CDATA  #IMPLIED 
	origin  	CDATA  #REQUIRED
        destination     CDATA  #REQUIRED>

<!ELEMENT port (doc|units|default)* >
<!ATTLIST port 
	name    CDATA             #REQUIRED
	type  	(input|output)    "input">

<!ELEMENT lut (data)? >
<!ATTLIST lut 
        name    CDATA          #REQUIRED>

<!ELEMENT dynamic (doc|date|units|creator|keywords|version|code)* >
<!ATTLIST dynamic
	type  	(code|script|pipe)          "code" 
        name    CDATA                       #IMPLIED
        event  	(update|integrate|init)     "update"  >

<!ELEMENT code (#PCDATA)>
<!ELEMENT doc (#PCDATA)>
<!ELEMENT units (#PCDATA)>
<!ELEMENT date (#PCDATA)>
<!ELEMENT creator (#PCDATA)>
<!ELEMENT version (#PCDATA)>
<!ELEMENT keywords (#PCDATA)>
<!ELEMENT data (#PCDATA)>
<!ELEMENT default (#PCDATA)>

Site maintained by: Thomas Maxwell
Last modified: Tue Mar 9 15:54:47 EST 1999