Skip to content

adminkk/xm-xml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

<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

About

java xml parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%