public void startElement(String namespaceURI, String localName, String rawName, Attributes as)
	{	
		if(Debug.debugLevel() >= 5)
		{
			Debug.println("Start of element received:", 5);
			Debug.println("  Namespace URI: " + namespaceURI, 5);
			Debug.println("  Local Name: " + localName, 5);
			Debug.println("  Raw Name: " + rawName, 5);
			Debug.println("  Attributes:", 5);
			for(int i = 0; i < as.getLength(); i++)
			{
				Debug.println("    Namespace URI: " + as.getURI(i), 5);
				Debug.println("    Type: " + as.getType(i), 5);
				Debug.println("    Qualified (prefixed) Name: " + as.getQName(i), 5);
				Debug.println("    Local Name: " + as.getLocalName(i), 5);
				Debug.println("    Value: " + as.getValue(i), 5);
			}
		}
		
		edu.fcps.karel2.xml.Attributes a = new edu.fcps.karel2.xml.Attributes();
		a.setAttributes(as);

		Element e = new Element(localName, a);

		if(rootElement == null)
			rootElement = e;
		else
			elements.get(elements.size() - 1).addElement(e);
		
		elements.add(e);
		
		Debug.println("End of start of element.", 5);
	}