TreeWalker interface.
Create an XML document containing the employee details of an organization.
Then create an application, which uses the DOM parser to parse the XML
document into a DOM tree and traverses through it.
The application should implement the TreeWalker interface to traverse through
all the nodes present in the DOM tree and print the value of the nodes.
- Chạy :
Tổng Kết :
- Biết cách làm NodeIterator.
- Hiểu được NodeIterator.
Không có nhận xét nào:
Đăng nhận xét