posted 21 years ago
I'm trying to use TreeWalker to simply print out each element name and I keep getting this error message.
java.lang.ClassCastException
at AccessElement.parseXML(AccessElement.java:35)
at AccessElement.main(AccessElement.java:17)
Here is the code: