 		  suiteXML.@timeouts=timeouts;
 		  suiteXML.@tests=specifications;
 		  
+		}
+		
+		private function putsXML() : void {
+		  if(printXML) {
+		    //fix this later
+		    suiteXML.@name = 'AllSpecs';
+		    trace('<XMLResultPrinter>');
+		    trace('<?xml version="1.0" encoding="UTF-8"?>');
+		    XML.prettyIndent = 0;
+		    trace(suiteXML.toXMLString());
+		    trace('</XMLResultPrinter>');
+		  }
 		}
 		
 		private function puts(s : String) : void {

		private function specificationXML(s : String, type : String, time : Number, error:Error = null) : void {
		  if(!printXML) return;
		  
		  testCase = <testCase></testCase>;
		  testCase.@className = clean(desc);
		  testCase.@name = clean(s);
		  testCase.@time = time/1000;
		  

	  public var printXML:Boolean = false;
	  public var printTrace:Boolean = true;
	  
	  private var suiteXML: XML = <testsuite></testsuite>;
	  private var testCase: XML;
	  
	  private var desc : String;
	  
		public function description(s : String) : void {
		  desc = s;
		  puts('');
