The flexibee2xml tool lets you easily convert files to a different format. Below you'll find an example of converting an XLS spreadsheet to XML on macOS.
Terminal command
/Applications/FlexiBee.app/Contents/Resources/flexibee2xml --from-xls test.xls --evidence cenik --to-xml cenik.xml
Part of the command | Meaning |
| Location of the tool. |
| Parameter specifying the format of the input file. |
| Name of the input file. |
| Parameter specifying the record type for which the XML will be created — it determines how the elements of individual rows are named. |
| Machine name of the record type in ABRA Flexi. |
| Parameter specifying the output format. |
| Name of the output file. |
You can swap the input and output format for another one — the tool also supports XLSX, CSV, JSON, and DBF. For a complete overview of the switches, see the article Flexi2XML Converter.
What to watch out for
Path to the tool. The name of the application package varies depending on the age of the installation. If you can't find the tool at the given path, search your disk for the file
flexibee2xml— inside the package, it's always located in theContents/Resourcesfolder.Working directory. The input and output files are looked for and created in the directory the terminal currently points to. The easiest approach is to switch to the folder containing the files using the
cdcommand, or to type out full paths.Quotes around the semicolon. When specifying the CSV delimiter, enclose it in quotes —
--delimeter ";". Without them, the shell treats it as a command separator and discards part of the command.
💡 To verify you have the correct path and the tool works, run it with the --help parameter — it will print its version and all available switches. A typo in a switch name will be reported by the tool as Unrecognized option and it will exit, so you'll spot the error right away.
