Skip to content

XML Data Transformer in Java 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. ๐Ÿ“ Project Structure

Notifications You must be signed in to change notification settings

RR-Ralefaso/Tasktoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

XML Data Transformer in Java

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. ๐Ÿ“ Project Structure

Each step of development is committed separately. You can follow the evolution of the application through the commit history. ๐Ÿš€ Features โœ… Step 1: Read and Print XML Fields

Reads an uploaded XML file.

Prints all field values to the console.

โœ… Step 2: Filter by User-Selected Fields

Prompts the user to select fields to view.

Only prints the selected fields.

โœ… Step 3: Output in JSON Format

Transforms selected fields to JSON format.

Outputs the result to the console.

โœ… Step 4: Add Input Validation

Handles invalid or unexpected user input gracefully.

Prevents crashes and provides helpful error messages.

โœ… Step 5: Use SAX XML Parser

Switches from traditional DOM parsing to SAX.

Improves performance for large XML files.

๐Ÿงฐ Technologies Used

Java

XML & SAX Parser

JSON (via org.json or similar)

AI-assisted development (for decisions & steps)

Git for version control

About

XML Data Transformer in Java 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. ๐Ÿ“ Project Structure

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages