diff --git a/tools/resolve-paths.xsl b/tools/resolve-paths.xsl
index f766b8da..45c44a1c 100644
--- a/tools/resolve-paths.xsl
+++ b/tools/resolve-paths.xsl
@@ -363,7 +363,7 @@
@
+ select="concat(name(),' ',.,' in ',generate-id(ancestor-or-self::*[1]))" />