code: public void writeDeclaration(boolean standalone, String encoding)
  		throws KNXMLException
  	{
  		try {
  			w.write("<?xml version=" + quote + "1.0" + quote);
  			w.write(" standalone=" + quote + (standalone ? "yes" : "no") + quote);
  			if (encoding != null && encoding.length() > 0)
  				w.write(" encoding=" + quote + encoding + quote);
  			w.write("?>");
  			w.newLine();
  		}
  		catch (final IOException e) {
  			throw new KNXMLException(e.getMessage());
  		}
  	}
docs: /* (non-Javadoc)
  @see tuwien.auto.calimero.xml.XMLWriter#writeDeclaration(boolean, java.lang.String)