Source

LIME / doc / gxf.dtd

Full commit
<!ELEMENT gxf (endpoint|node|edge|stream|meta|coretype|actortype|execontext|type-is|inst-is|xi:include|gxf|map)*>
<!ATTLIST gxf
  id CDATA #IMPLIED
  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'
  xml:base CDATA #IMPLIED>

<!ELEMENT xi:include (xi:fallback)*>
<!ATTLIST xi:include href CDATA #REQUIRED
  parse CDATA #IMPLIED>

<!ELEMENT xi:fallback ANY>

<!ELEMENT callout (id?)>
<!ATTLIST callout id CDATA #IMPLIED>

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

<!ELEMENT code ANY>
<!ATTLIST code context CDATA #IMPLIED>

<!ELEMENT type ANY>
<!ELEMENT context (#PCDATA)>
<!ELEMENT id (#PCDATA)>
<!ELEMENT port-id (#PCDATA)>
<!ELEMENT size (#PCDATA)>
<!ELEMENT restrict (#PCDATA)>
<!ELEMENT const (#PCDATA)>
<!ELEMENT inout (#PCDATA)>
<!ELEMENT static (#PCDATA)>
<!ELEMENT volatile (#PCDATA)>
<!ELEMENT constp (#PCDATA)>
<!ELEMENT volatilep (#PCDATA)>
<!ELEMENT ret (#PCDATA)>
<!ELEMENT mode (#PCDATA)>
<!ELEMENT stereo-type (#PCDATA)>

<!ELEMENT meta ANY>
<!ATTLIST meta id CDATA #IMPLIED>

<!ELEMENT coretype EMPTY>
<!ATTLIST coretype 
  xlink:type (locator) #FIXED "locator"
  xlink:label CDATA #REQUIRED
  xlink:href CDATA #REQUIRED>

<!ELEMENT actortype EMPTY>
<!ATTLIST actortype
  xlink:type (locator) #FIXED "locator"
  xlink:label CDATA #REQUIRED
  xlink:href CDATA #REQUIRED>

<!ELEMENT execontext EMPTY>
<!ATTLIST execontext 
  xlink:type (locator) #FIXED "locator"
  xlink:label CDATA #REQUIRED
  xlink:href CDATA #REQUIRED>

<!ELEMENT type-is EMPTY>
<!ATTLIST type-is
  xlink:type (arc) #FIXED "arc"
  xlink:to CDATA #REQUIRED
  xlink:from CDATA #REQUIRED>

<!ELEMENT inst-is EMPTY>
<!ATTLIST inst-is
 xlink:type (arc) #FIXED "arc"
  xlink:to CDATA #REQUIRED
  xlink:from CDATA #REQUIRED>

<!ELEMENT endpoint EMPTY>
<!ATTLIST endpoint
  xlink:type (locator) #FIXED "locator"
  xlink:label CDATA #REQUIRED
  xlink:href CDATA #REQUIRED>

<!ELEMENT node (id?,stereo-type?,mode?,type?,callout?,ret?,(endpoint|port|node|meta|code|edge|stream|bound-to)*)>
<!ATTLIST node id ID #REQUIRED
  stereo-type CDATA #IMPLIED
  type CDATA #IMPLIED
  xlink:type (resource) #FIXED "resource"
  xlink:label CDATA #IMPLIED>

<!ELEMENT bound-to (#PCDATA)>
<!ATTLIST bound-to
  xlink:type (arc) #FIXED 'arc'
  xlink:to CDATA #REQUIRED
  xlink:from CDATA #REQUIRED>

<!ELEMENT calltype (#PCDATA)>

<!ELEMENT packetsize (#PCDATA)>

<!ELEMENT port (id?,mode?,calltype?,packetsize?,(type|metatype)?,(size|port|inout|const|static|restrict|volatile|constp|volatilep)*)>
<!ATTLIST port id ID #REQUIRED
  type CDATA #IMPLIED
  size CDATA #IMPLIED
  const CDATA #IMPLIED
  xlink:type (resource) #FIXED "resource"
  xlink:label CDATA #IMPLIED>

<!ELEMENT stream (id|endpoint|edge)*>
<!ATTLIST stream
  id CDATA #IMPLIED
  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 edge (id?,type?,(from|from-node),(to|to-node))>
<!ATTLIST edge id ID #IMPLIED
  type CDATA #IMPLIED
  xlink:type (arc) #FIXED "arc"
  xlink:to CDATA #IMPLIED
  xlink:from CDATA #IMPLIED>
  
<!ELEMENT from (node)>
<!ELEMENT to (node)>

<!ELEMENT from-node (id?,port-id?)>
<!ATTLIST from-node id CDATA #IMPLIED
  port-id CDATA #IMPLIED>

<!ELEMENT to-node (id?,port-id?)>
<!ATTLIST to-node id CDATA #IMPLIED
  port-id CDATA #IMPLIED>

<!ELEMENT map (area)*>
<!ATTLIST map id ID #REQUIRED
  name CDATA #REQUIRED>

<!ELEMENT area EMPTY>
<!ATTLIST area 
  shape CDATA #REQUIRED
  href CDATA #REQUIRED
  title CDATA #IMPLIED
  alt CDATA #IMPLIED
  coords CDATA #REQUIRED>