The content of this FAQ has been updated and migrated to the following topics in docs.itrsgroup.com. Refer to the following:
We recommend that you always use the latest document version in https://docs.itrsgroup.com/ to keep you up-to-date.
You can still refer to the below xml as an example:
The XPath to get the Sample name is:
This can be generalised to get the name of any element that has one, just replace sampler with whatever you need.
For example, we have a KBA Set named "Sampler page". The KBA "Sampler URL" has three url elements. One of which is an xpath using the ancestor function to get the sampler name above the target of the KBA which is the cell of the dataview. The configuration of your KBA set should follow the xml codes below.
For further details regarding ancestor functions on relative paths, please refer to 31.3 Appendix E of the Gateway Technical Reference Guide.