Skip to content
haiduc32 edited this page May 2, 2012 · 2 revisions

Files with *.xpath extension are used as replacement values, just as individual values provided with the -r parameter.

Basic rules

The structure of the replacement values is same as for the ones given as parameters to the application. You can have the values separated by space or grouped with ", for ex: //add[@key='someKey']/@value "this is a string with spaces" regex

The processing engine is very forgiving so the number of empty spaces at the start of the line, between the parameters, or at the last of the line are ignored. Even spaces in the parameters with " test is test ", are ignored at the beginning and at the end, the value will be considered as 'test is test'.

The parsing engine also supports comments that start with --, but only at the beginning of the line. Empty lines are ignored.

Clone this wiki locally