This project is a step-by-step Java application that transforms XML data using AI-guided development and commits after each significant milestone. The application progresses from simple data reading to robust, validated user-interactive JSON output, and finally transitions to a SAX parser for XML.
Each step of development is committed separately. You can follow the evolution of the application through the commit history.
- Reads an uploaded XML file.
- Prints all field values to the console.
- Prompts the user to select fields to view.
- Only prints the selected fields.
- Transforms selected fields to JSON format.
- Outputs the result to the console.
- Handles invalid or unexpected user input gracefully.
- Prevents crashes and provides helpful error messages.
- Switches from traditional DOM parsing to SAX.
- Improves performance for large XML files.
- Java
- XML & SAX Parser
- JSON (via
org.jsonor similar) - AI-assisted development (for architecture & logic)
- Git for version control
