Programming Tutorials

Comment on Tutorial - XML and Java - Parsing XML using Java Tutorial By Maggie



Comment Added by : Edd

Comment Added at : 2012-01-15 10:49:00

Comment on Tutorial : XML and Java - Parsing XML using Java Tutorial By Maggie
Excellent tutorial thank you very much.

For other people who are new to this i only needed to do two things to make it work:

1. Initialize a Document object "dom". To do this you need to import the following: import org.w3c.dom.Document;

2. Create a class "Employee" with the relevant variable and a constructor to set these when new objects are created from the method: Employee e = new Employee(name,id,age,type);

Thanks again for a great tutorial.


View Tutorial