code: @Override
  	public void startElement(final String namespaceURI, final String simpleName,
  		final String qualifiedName, final Attributes attributes) throws SAXException
  	{
  		writeToBuffer();
  
  		String elementName = simpleName;
  
  		if ("".equals(elementName))
  		{
  			elementName = qualifiedName;
  		}
  
  		write("<" + elementName);
  
  		if (attributes != null)
  		{
  			for (int i = 0; i < attributes.getLength(); i++)
  			{
  				String attributeName = attributes.getLocalName(i);
  
  				if ("".equals(attributeName))
  				{
  					attributeName = attributes.getQName(i);
  				}
  
  				write(" ");
  				write(attributeName + "=\"" + attributes.getValue(i) + "\"");
  			}
  		}
  
  		write(">");
  	}
docs: {@inheritDoc}