TAOML - BNF

TAO_HTML ::= < TAO > TAO_BODY < /TAO >
 
TAO_BODY ::= NAME_PART TYPE_PART P_PART 
LINK_PART IC_PART SENSI_PART DATA_PART
 
NAME_PART ::= < TAO_NAME > "name" < /TAO_NAME >
 
TYPE_PART ::= < TAO_TYPE > TYPE_SET < /TAO_TYPE >
 
TYPE_SET ::= [image, text, audio, motion_graph, video, mixed]
 
P_PART ::= < TAO_TEMPLATE > "template_name" 
< /TAO_TEMPLATE >
 
LINK_PART ::= empty | < TAO_LINKS > LINK_BODY 
< /TAO_LINKS > LINK_PART
 
LINK_BODY ::= name = "link_name", type = LINK_TYPE, obj = 
"link_obj" 
 
LINK_TYPE ::= [spatial, temporal, structural]
 
IC_PART ::= empty | < TAO_IC > flag=FLAG ic_type="a_string" 
ic_id_list="a_string" cgi_pgm="a_string" message_type="a_string" 
content="a_string" < /TAO_IC >
 
FLAG ::= [old, new]
 
SENSI_PART ::= empty | < TAO_SENSI > SENSITIVITY 
< /TAO_SENSI >
 
SENSITIVITY ::= [location, content, time]
 
DATA_PART ::= empty | < TAO_DATA > "database_name" 
< /TAO_DATA >