Document document = XMLUtil.createEmptyDocment();
Element parserElement = document.createElement("Parser");
model.addXML(document, parserElement);
smdrParser = ParserFactory.getParser(parserElement);
smdrParser.addListener(new SMDRParserListener() {
public void handleCDR(CDR cdr) {
System.out.println("ReceivedCDR:" + cdr);
tmpCDR = cdr;
SwingUtilities.invokeLater(new Runnable() {
public void run() {