Thank you for reading my post.
I have some question about parsing XML,
-does XSD and DTD has the same role?
-I know that if i want to pars a document like :
I should have a code like:
But when my XML document is more sophisticated like :
what should i do?
Should i start reading the document elements one by one and
test them to see whether it is student/teacher/worker.... or there is some easier way like case one that i can use to retrieve all students/teachers/workers..?
Thanks.