STIR File Format

There are two syntaxes for STIR files. The first is useful for marking up HTML documents, are the control characters are of the form %xxx{ %xxx: %}. The syntax for a tuple is roughly as follows:

	%rel{ %field1: ... %field2: ... %fieldn: ... %}
eg, for the relation person(name:doc address:doc email:string)
	%person{
	   %name: William Cohen 
	   %address: AT&T Labs--Research 
	   %email: "wcohen@research.att.com"	
	%}
The second syntax is XML-style. That's what's used in the snapshot data. A tuple is encoded as follows:
	<rel> <field1/> ... <field/> ... <field/> ... </rel>
eg
	<person>
	   <name/> William Cohen 
	   <address/> AT&T Labs--Research 
	   <email/> "wcohen@research.att.com"	
	</person>
Some notes: