[This local archive copy mirrored from the canonical site: http://www.isl.hiroshima-u.ac.jp/projects/SGF/xmldtd.htm, 1998-08-31; links may not have complete integrity, so use the canonical document at this URL if possible.]
|
Here is the XML Document Type Definition for SGF documents : <!-- A DTD for Structured Graphs, by Olivier Liechti, 1997 --> <!ELEMENT STRUCTUREDGRAPH (SGATT*,NODES,HIERARCHY,NETWORK)> <!ELEMENT NODES (NODE*)> <!ELEMENT HIERARCHY (LINK*)> <!ELEMENT NETWORK (LINK*)> <!ELEMENT NODE (SGATT*)> <!ATTLIST NODE NODEID ID #REQUIRED LABEL CDATA #IMPLIED > <!ELEMENT LINK (SGATT*)> <!ATTLIST LINK SOURCE IDREF #REQUIRED DEST IDREF #REQUIRED LABEL CDATA #IMPLIED > <!-- SGATT allows definition of application specific attributes --> <!ELEMENT SGATT EMPTY> <!ATTLIST SGATT NAME CDATA #REQUIRED VALUE CDATA #REQUIRED > |