How to parse DTD structure?# XML - WWW明日之星
s*o
1 楼
I'm a beginner to work with JAXP. Now I need to parse the
DTD
part in a XML file and get its structure, i.e. I want to
know every element's name and type but I don't care its
value. What package and class I can use to do that? Is it
possible to do it with DOM parser?
Thanks a lot for your help!
DTD
part in a XML file and get its structure, i.e. I want to
know every element's name and type but I don't care its
value. What package and class I can use to do that? Is it
possible to do it with DOM parser?
Thanks a lot for your help!