Approaching functionality with xpath parameterization, but not there yet.