-1

I am using URL Fetch service on GAE for java and the response is returning of type XML like

<?xml version="1.0" encoding="UTF-8"?>
<stories type="array" count="0" total="0" filter="'blawblaw'">
</stories>

I can print it as string like

log.info(new String(response.getContent(),"UTF-8"));

But, converting it as String is not the right thing here as i need to read story count and then story under it. Please advise how to do that on GAE

Vik
  • 8,721
  • 27
  • 83
  • 168

1 Answers1

0

Peter's response of reference Best XML parser for Java helped me getting it. I finally used a SAX parser which is supported on google app engine

Community
  • 1
  • 1
Vik
  • 8,721
  • 27
  • 83
  • 168