|
I want to parse the XML similar to the struts configuration file, for example there is such a configuration there:
<action
name = "analysisForm"
path = "/ worklogAnalysis"
scope = "request"
type = "org.springframework.web.struts.DelegatingActionProxy" />
But what do I need to do to get the value of name? I can either get all the paragraphs. Or I can only get the action. When I write, I also want to write it like this. I do n’t want to write the standard <action> <name > aaa </ name> </ action>
May I ask what tools can achieve this approach? Any tool can do it, but it is best to give priority to efficiency. For example, using JDOM to parse a 20K STRUTS configuration file, the slowest time is actually 12 seconds. Khan ... |
|