Skip to content

claudiofsr/read_xml

read_xml

Read NFe and CTe xml files recursively and write XLSX/CSV files.

In a directory containing XML files, in the command line terminal run:

read_xml

The output will be saved to an XLSX (excel) file.

Building

To build and install from source, run the following command:

git clone https://github.com/claudiofsr/read_xml.git
cd read_xml
cargo b -r && cargo install --path=.

Examples

To show all fields and values, use the verbose option:

read_xml -v

To redirect the output to another file with all fields and values:

read_xml -tv > /tmp/xml_files.txt

To parse CTe or NFe xml file and print Rust struct:

read_xml -s cte.xml

And to print nodes from xml files:

read_xml -n cte.xml

About

Read xml files recursively and show all fields and values.

Resources

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE_Apache2.0
BSD-3-Clause
LICENSE_BSD3
MIT
LICENSE_MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published