code: public void setValueAsJava(org.w3c.dom.Node n) {
  	DOMProcessing.trimNode(n);
  	try {
  	    this.value=DOMProcessing.writeToString(n);
  	} catch (TransformerConfigurationException e) {
  	    this.value=n.toString();  // TODO: not the most compelling handling
  	} catch (TransformerException e) {
  	    this.value=n.toString(); //TODO: not the most compelling handling
  	}
      }
docs: Converts a DOM into a string representation, after "normalizing" it.
  
  @param n DOM Node to convert.