![]() Data File Definition: the definition of a data file structure (e.g.Definition file: this is an xml file that contains one or more "Data File Definition"s the grammar of the file is defined in framework/datafile/dtd/datafile.xsd.The DataFile has a web page in WebTools to parse data files and generate entity xml files (that can be imported in OFBiz) from them, and to do in/out testing.īoth the import of fixed width flat files and character delimited files are implemented. The code is in the ofbiz/framework/datafile directory, and there is an XSD there to describe how the data file definition XML file should look. It includes features like a line type code for each line and can support hierarchical flat files (ie where parent/child relationships are implied by sub-records). It uses a generic object to represent a row in the flat file. So, by design it is somewhat like the Entity Engine. It uses XML files that describe flat file formats (including character delimited, fixed width, etc) and parses the flat files based on those definitions. There is a data import tool in OFBiz called the DataFile tool.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |