Archive for the ‘XML’ Category

XMLBeam: Snippets and Examples

Tuesday, July 22nd, 2014

XMLBeam is an interesting library using an approach of projecting parts of an XML DOM tree into Java using some simple interfaces, annotations and XPath expressions.

In the following article, I’d like to share three experiments of mine with this library for reading, writing XML and parsing a live RSS feed.

(more…)

Snippet: XML-Pull-Parser with XPP3

Friday, December 28th, 2012

When there is XML to be parsed sometimes we’re chosing a DOM parser, sometimes a SAX parser and sometimes we’re using an XML pull parser, especially on Android.

The following short snippet shows how to use the xpp3 xml pull parse to fetch some information in xml format from a public issue tracker and to extract issue details.

(more…)

Search
Categories