import org.w3c.dom.*; |
import com.ibm.xml.parser.*; |
import java.io.*; |
public class DocModification { |
public static void main (String args[]) throws Exception { |
Parser parser = new Parser(args[0]); |
InputStream in = new FileInputStream(args[0]); |
TXDocument document; |
Element root; |
Element publication; |
NodeList publications; |
Element title; |
Element lastname; |
Text titleText; |
PrintWriter pw; |