docs: public static void exportFileToDOM(DocumentBuilder stringdb, BaseTable table, Document doc, Element elRoot)
      {
          try   {
              table.close();
              while (table.hasNext())
              {
              	table.next();
              	Record record = table.getRecord();
                  XmlUtilities.createXMLRecord(stringdb, record, doc, elRoot);
              }
              elRoot.appendChild(doc.createTextNode(NEWLINE));
          } catch (DBException ex)    {
              ex.printStackTrace();
              System.exit(0);
          }
      }