damn small & primitive xpath parser