|
|
<location> |
Template defines tolerance for
matching floating point values with actual document. Namespace prefix 'xm' annotates internal elements and attributes of XML-Matcher. |
<person xm:regex-dom="true"> |
This template uses regular
expressions notation adapted for XML. It will match with actual
document where person is defined either by nickname (C.A.R) or using
first and last name (Tony Hoare). More about regular expressions in XML Matcher here. |
<?javascript asserts.equals ("step[1]", "step[last()]"); ?> |
This template uses Javascript
processing instructions to assert that values of the first and last
step elements are the same. |