You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
XMLRuleParser/README.MD

1.2 KiB

XML Rule Parser

Attempts to parse XML into an excel document.

Usage

Clicking the compiled binary

  • Opens a new terminal (typically cmd)
  • Checks your clipboard for XML
  • Asks if this is the xml you'd like to parse.
  • If yes, parses XML into dataframe.
  • Copies to clipboard
  • Saves to Parsed XML.xlsx in the same folder as the binary.

Running from terminal/command line

usage: XML Parser [-h] [-i INPUT] [-o OUTPUT] [--debug]

This program parses XML data into a pandas DataFrame. The XML data can come from an input file or the clipboard. If an output file is specified, the DataFrame will be written to this file in Excel format. If debug mode is
enabled, detailed logging information will be written to "xml_parse.log".

options:
  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        Path to the XML file to parse. If not specified, the program will ask for XML data from the clipboard.
  -o OUTPUT, --output OUTPUT
                        Path to the output Excel file. If not specified, the DataFrame will be written to 'Parsed XML.xlsx' in the current directory.
  --debug               Enable debug mode. Detailed logging information will be written to 'xml_parse.log'.