Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Repository files navigation

xmlparser

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:

  1. Getting Content of the node by clicking on it.
  2. Adding a node at the leaf node of the tree.
  3. Adding a node in between two nodes.
  4. Updating the content of the node.
  5. Deleting a node from the tree.
  6. Deleting the subtree of the tree.
  7. Swapping two subtrees.
  8. 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] .

About

It takes an XML file as input and produces its XML Tree. It also has features of adding, deleting and updation of xml nodes.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages