From 8d35d21cfeef39e5b950325fafa16d476c942db7 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Fri, 7 Apr 2006 18:36:06 +0000 Subject: [PATCH] Made further refinements to the code for doing Refentry metadata gathering; "normalized" the formatting of notification/warning messages emitted during metadata gathering. --- xsl/common/refentry.xsl | 341 ++++++++++++++++++++++++---------------- 1 file changed, 204 insertions(+), 137 deletions(-) diff --git a/xsl/common/refentry.xsl b/xsl/common/refentry.xsl index 4862bb573..5606700bb 100644 --- a/xsl/common/refentry.xsl +++ b/xsl/common/refentry.xsl @@ -261,7 +261,7 @@ - Note: Missing manvolnum. + Note: manvolnum: Missing. Note: Found funcsynopsis. Setting section number to 3. @@ -314,8 +314,8 @@ - + @@ -329,18 +329,17 @@ - Note: Found in - + + + + date + @@ -351,13 +350,13 @@ - + - Note: Missing date. Generating localized date. + Note: meta "date" : Missing. Generating localized date. @@ -461,7 +460,7 @@ - + @@ -469,7 +468,7 @@ - + @@ -480,9 +479,9 @@ - + - + @@ -493,14 +492,14 @@ - + - Warn: Missing "source" metadata. No fallback found; leaving empty. + Warn: meta "source" : Missing. No fallback; leaving empty. @@ -547,9 +546,8 @@ - - using source.name profile + @@ -565,48 +563,82 @@ select="refmeta/refmiscinfo[@class = 'source'][1]/node()"/> - Note: Missing class="source" data on refmeta/refmiscinfo + Note: meta "source" : Missing refmiscinfo@class="source" - - - + + + + source + - + + + + source + - + + + + source + - + + + + source + - + + + + source + - + + + + source + - Note: Missing "source name" metadata. + Note: meta "source" : Missing. - + @@ -651,9 +683,8 @@ - - using version profile + @@ -668,25 +699,46 @@ - - - - - - - - - - - - + Note: meta "version": Missing refmiscinfo@class="version" + + + + + + version + + + + + + + version + + + + + + + version + + + + Note: meta "version": Missing. + + @@ -763,56 +815,67 @@ - - using manual profile + - - - - - - - - - - - - + Note: meta "manual" : Missing refmiscinfo@class="manual" + + + + + + manual + + + + + + + manual + + + + Note: meta "manual" : Missing. + + - + - + - + Warn: meta "manual" : Missing. No fallback; leaving empty. @@ -893,57 +956,61 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - + + Sets content of a refentry metadata item - - - + + The set.refentry.metadata function is + called each time a suitable source element is found for a certain + metadata field. It emits a message indicating what source element + it has found. + - - - + + + + info + + A single *info node that contains the selected source element. + + + + contents + + A node containing the selected source element. + + + + context + + A string describing the metadata context in which the + set.refentry.metadata function was + called: either "date", "source", "version", or "manual". + + + + + + Returns formatted contents of a selected source element. + - + + + + + Note: meta "" + + + : Using / - -- 2.50.1