Simple light weight xml read/write. Adapted from google xml processing