public void startDiff ( String oldJar , String newJar ) throws DiffException { Element tmp = doc . createElementNS ( XML_URI , "diff" ) ; tmp . setAttribute ( "old" , oldJar ) ; tmp . setAttribute ( "new" , newJar ) ; doc . appendChild ( tmp ) ; currentNode = tmp ; }
Start the diff . This writes out the start of a &lt ; diff&gt ; node .