From: Bob Stayton Date: Fri, 5 Jul 2002 08:32:41 +0000 (+0000) Subject: Added 'verbose' parameter to default templates in X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dccc157297e5c0821aefcc9106f18dcc0f62dee2;p=docbook-dsssl Added 'verbose' parameter to default templates in title.markup mode and label.markup mode, and made the error message conditional on that parameter. The default value is 1, so the message will still be there for normal usage. But the targets.xsl stylesheet sets verbose to 0 when trolling for cross reference targets to eliminate useless noise on elements that have an id attribute but no title or label. --- diff --git a/xsl/common/labels.xsl b/xsl/common/labels.xsl index 1c7f45bb6..54122c626 100644 --- a/xsl/common/labels.xsl +++ b/xsl/common/labels.xsl @@ -23,10 +23,13 @@ element label. - - Request for label of unexpected element: - - + + + + Request for label of unexpected element: + + + diff --git a/xsl/common/titles.xsl b/xsl/common/titles.xsl index 8926f64fc..bb858ce8c 100644 --- a/xsl/common/titles.xsl +++ b/xsl/common/titles.xsl @@ -19,11 +19,12 @@ title of the element. This does not include the label. + - + @@ -32,15 +33,17 @@ title of the element. This does not include the label. - - Request for title of element with no title: - - - (id=" - - ") - - + + + Request for title of element with no title: + + + (id=" + + ") + + + ???TITLE???