solution to a timestamp xml generating puzzle