Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 391 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 391 Bytes
<a name="test">
    <b test="demaxiya"/>
    <b test="hehehehe"/>
</a>
DocumentResult result = DocumentResult.load("D:\\xx.xml");
String name = resule.child("a").attr("name").val();
// print test
String test = resule.child("a").child("b").attr("test").val();
// print demaxiya
String test1 = resule.child("a").childs("b").get(1).attr("test").val();
// print hehehehe