A Java Project for XML File well-formed checker and generating GUI based XML Tree. It takes an xml file input. It checks for well-formed structred of the xml file. If there is any error in the file, it gives the line number and column of the number and error .
Implemented BFS and DFS for offline query in the tree.
Note: Open the xmlparser.java and change the location of the xml file in line no. 74 to the location in your computer.
It generates the GUI based xml tree of the xml in java. The tree has features:
- Getting Content of the node by clicking on it.
- Adding a node at the leaf node of the tree.
- Adding a node in between two nodes.
- Updating the content of the node.
- Deleting a node from the tree.
- Deleting the subtree of the tree.
- Swapping two subtrees.
- After each change, the new xml file is dumped in the xml file and the new XML Tree is displayed.
Get the full source code: https://docs.google.com/uc?authuser=1&id=0B4NjsxPewchAMnc0aDJqc25WMzQ&export=download
For any bugs and suggestions, feel free to contact me at: [email protected] .