s****o 发帖数: 18 | 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! | s****o 发帖数: 18 | 2 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! |
|