template for java and xml from table info identify