Basic xpath support

Basic xpath support for target and source when altering HTML prior to
image print