diff --git a/contrib/check-source/find-empty-inlines.xsl b/contrib/check-source/find-empty-inlines.xsl index 6de951abc..c2b329d40 100644 --- a/contrib/check-source/find-empty-inlines.xsl +++ b/contrib/check-source/find-empty-inlines.xsl @@ -5,6 +5,10 @@ Find empty inline elements in our sources. These elements cause layout issues in HTML. + Parameters: + prefix: the prefix to use for the output XPath (default "d") + (without the colon) + Input: DocBook 5 document @@ -29,6 +33,8 @@ + + @@ -48,7 +54,9 @@ select="concat('[', $level, '] ', $msg, ' Element <', local-name($node), '>')" /> located near id=, title= - XPath= + XPath= + + diff --git a/daps-xslt/common/xpath.location.xsl b/daps-xslt/common/xpath.location.xsl index 97731b5c0..13f902b56 100644 --- a/daps-xslt/common/xpath.location.xsl +++ b/daps-xslt/common/xpath.location.xsl @@ -4,7 +4,8 @@ Returns the XPath of a node, including predicates if needed Parameters: - None + prefix: the prefix to use for the output XPath (default "d") + (without the colon) Dependencies: None @@ -28,7 +29,10 @@ Original template from http://docbook.sourceforge.net/release/xsl/current/lib/lib.xsl --> + d + + @@ -38,6 +42,7 @@ select="count($node/preceding-sibling::*[name(.) = name($node)])"/> + @@ -51,6 +56,7 @@ +