added Gavin's xml-parse.r

Signed-off-by: Graham Chiu <compkarori@gmail.com>