XML-like document manipulation tool