Source

LIME / doc / types.dtd

<!ELEMENT types (typedecl|typedef)*>
<!ATTLIST types
  xmlns:xi CDATA #FIXED 'http://www.w3.org/2001/XInclude'
  xmlns:xlink CDATA #FIXED 'http://www.w3.org/1999/xlink'
  xlink:type (extended) #FIXED 'extended'>

<!ELEMENT typedecl (id,size?,prec?,type,variant?)>
<!ATTLIST typedecl id CDATA #REQUIRED>

<!ELEMENT id (#PCDATA)>
<!ELEMENT size (#PCDATA)>
<!ELEMENT prec (#PCDATA)>
<!ELEMENT type (#PCDATA)>
<!ELEMENT tag (#PCDATA)>
<!ELEMENT calltype (#PCDATA)>

<!ELEMENT variant (selector,ports,port*)>

<!ELEMENT selector (id,type)>
<!ATTLIST selector id ID #REQUIRED>

<!ELEMENT ports (id)>
<!ATTLIST ports id ID #REQUIRED>

<!ELEMENT metatype (id)>
<!ATTLIST metatype id ID #REQUIRED
  xlink:type (resource) #FIXED "resource">

<!ELEMENT port (id,calltype?,tag?,type?,size,metatype?,port*)>
<!ATTLIST port id ID #REQUIRED>

<!ELEMENT typedef (id,type)>
<!ATTLIST typedef id ID	#REQUIRED>