lazdbexport.TSimpleXMLExporter - example needed lazarus / 16-Databases ---------------------------------------------------------------------- tudi_x · 2016-05-10 21:57 Hi! Please advise if an example of XML export exists, I have no rows exported in the below, please help with what I am missing. I looked as per the wiki at http://wiki.freepascal.org/fpXMLXSDExport and was not able to find an example. Thank you Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i e_xml := TSimpleXMLExporter.Create(nil);     if e_xml is TCustomFileExporter then    begin      e_xml.Dataset := Source;      e_xml.ExportFields.AddField('ID');      e_xml.FileName := 'xxxxxxxxxx.xml';      writeln('Rows: ' + IntToStr(e_xml.Execute));  end;     e_xml.Free; ---------------------------------------------------------------------- engkin · 2016-05-11 02:23 I don't see a problem in your code. I have a strong feeling that you are running it from within Lazarus. Run your app from its folder directly.