Il metodo addChild() aggiunge un nodo, il metodo addAttribute() aggiunge un attributo.