public void test3()
{
System.out.println("\ntest3");
Document doc = new Document();
tsx_dbconnect conn = new tsx_dbconnect("conn1", "jdbc:db2:sample", "com.ibm.db2.db2driver", "wsdemo", "wsdemo1");
tsx_dbquery query = new tsx_dbquery("query1", "conn1", "10");
query.addElement("select * from staff");
tsx_dbmodify modify = new tsx_dbmodify("modify", "conn1");
tsx_repeat rep = new tsx_repeat("i", "1", "10");
tsx_getProperty getProp = new tsx_getProperty("query1", "lastname");
rep.addElement(getProp);
doc.appendBody(conn);
doc.appendBody(query);
doc.appendBody(rep);
tsx_setProperty setProp = new tsx_setProperty("modify1", "lastname", "Jones");
modify.addElement("delete from staff where lastname='Jones'");
doc.appendBody(setProp);
doc.appendBody(modify);
System.out.println(doc.toString());
}