Answer the question
In order to leave comments, you need to log in
How to parse SAXBuilder?
Guys, tell me please, I don’t understand how to parse SAXBuilder.
I send a post request, after which I receive a response (in xml), collect the response in StringBuffer x.
Now x contains:
"<?xml version="1.0"?>
<company>
<staff>
<firstname>yong</firstname>
<lastname>mook kim</lastname>
<nickname>mkyong</nickname>
<salary>100000</salary>
</staff>
<staff>
<firstname>low</firstname>
<lastname>yin fong</lastname>
<nickname>fong fong</nickname>
<salary>200000</salary>
</staff>
</company>"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question