I have a parser that gets xml values using xpath and transforms it to a json file. I am trying to do some xpath and make it relative but can only get it working if I make it