code: public boolean checkXMLRules(Document doc, Document instruction)
  			throws Exception {
  
  		if (doc == null || doc.getDocumentElement() == null)
  			return false;
  		Element e = instruction.getDocumentElement();
  		PrintWriter logger = new PrintWriter(System.out);
  		Document parsedDoc = parse(doc, e, logger);
  		return (parsedDoc != null);
  	}
docs: A method to validate a pool of schemas outside of the request element.
  
  @param Document
  doc The file document to validate
  @param Document
  instruction The xml encapsulated schema information (file
  locations)
  @return false if there were errors, true if none.