From dff8146e556bbd37c889baf9cc575a4dc6667ede Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Fri, 5 Jul 2002 08:32:41 +0000 Subject: [PATCH] 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. --- xsl/common/labels.xsl | 11 +++++++---- xsl/common/titles.xsl | 23 +++++++++++++---------- 2 files changed, 20 insertions(+), 14 deletions(-) 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??? -- 2.50.1