1 | import org.w3c.dom.*; |
2 | import com.ibm.xml.parser.*; |
3 | import java.io.*; |
4 | |
5 | public class DocModification { |
6 | |
7 | public static void main (String args[]) throws Exception { |
8 | |
9 | Parser parser = new Parser(args[0]); |
10 | InputStream in = new FileInputStream(args[0]); |
11 | TXDocument document; |
12 | Element root; |
13 | Element publication; |
14 | NodeList publications; |
15 | Element title; |
16 | Element lastname; |
17 | Text titleText; |
18 | PrintWriter pw; |