java 解析处理XML字符串

String text = "<members> <member>sitinspring</member> </members>";
org.dom4j.Document document = DocumentHelper.parseText(text);
String text1 = document.selectSingleNode("/members/member").getText();
System.out.println(text1);
<dependency>
    <groupId>jaxen</groupId>
    <artifactId>jaxen</artifactId>
    <version>1.1.6</version>
</dependency>
<dependency>
    <groupId>dom4j</groupId>
    <artifactId>dom4j</artifactId>
    <version>1.6.1</version>
</dependency>