Source

LIME / doc / stream.dtd

<!ELEMENT stream (edge|endpoint|xi:include)*>
<!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 xi:include (xi:fallback)*>
<!ATTLIST xi:include href CDATA #REQUIRED
  parse CDATA #IMPLIED>

<!ELEMENT xi:fallback ANY>

<!ELEMENT type (#PCDATA)>
<!ELEMENT id (#PCDATA)>
<!ELEMENT port-id (#PCDATA)>

<!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 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 endpoint EMPTY>
<!ATTLIST endpoint
  xlink:type (locator) #FIXED "locator"
  xlink:label CDATA #REQUIRED
  xlink:href CDATA #REQUIRED>