I am trying to parse a datainputstream of xml input. I cant find it anywhere in the API specs.
thanks
The incoming xml looks like this:
The code will look something like this:
thanks
The incoming xml looks like this:
Code:
<?xml version="1.0" ?><message><body>Some text</body><username>james</username>
The code will look something like this:
Code:
DataInputStream dataInputStream = new DataInputStream (...);
String msg = dataInputStream.readUTF();
Parser myParser = new SAXParser();
....