[yelp-xsl] Added some notes to mal-if params about default values



commit 4c296beea662ad6ef8276146a05b5bc951646ced
Author: Shaun McCance <shaunm redhat com>
Date:   Fri Oct 16 11:29:32 2020 -0400

    Added some notes to mal-if params about default values

 doc/yelp-xsl/C/mal.if.features.page | 4 +++-
 doc/yelp-xsl/C/mal.if.target.page   | 3 ++-
 xslt/mallard/common/mal-if.xsl      | 7 +++++--
 3 files changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/doc/yelp-xsl/C/mal.if.features.page b/doc/yelp-xsl/C/mal.if.features.page
index 37f592c2..6d55dd34 100644
--- a/doc/yelp-xsl/C/mal.if.features.page
+++ b/doc/yelp-xsl/C/mal.if.features.page
@@ -10,7 +10,9 @@
  <p>This parameter takes a space-separated list of tokens to enable for conditional
  processing. It is used by the template <code xref="mal.if.test">mal.if.test</code>. This parameter is meant
  to hold tokens that specify the capabilities of these stylesheets. It should
- usually be set by the primary importing stylesheet.</p>
+ usually be set by the primary importing stylesheet. The default in this
+ stylesheet is just <sys>'mallard:1.0'</sys>, but it is set to a more complete set of
+ features by the importing HTML and XHTML stylesheets.</p>
  <synopsis>
   <terms>
    <item>
diff --git a/doc/yelp-xsl/C/mal.if.target.page b/doc/yelp-xsl/C/mal.if.target.page
index 1809d6b3..9a1e9c49 100644
--- a/doc/yelp-xsl/C/mal.if.target.page
+++ b/doc/yelp-xsl/C/mal.if.target.page
@@ -10,7 +10,8 @@
  <p>This parameter takes a space-separated list of tokens to enable for conditional
  processing. It is used by the template <code xref="mal.if.test">mal.if.test</code>. This parameter is meant
  to hold tokens starting with <sys>target:</sys>. It should usually be set by the primary
- importing stylesheet.</p>
+ importing stylesheet. The default in this stylesheet is just <sys>''</sys>, but it is
+ set to appropriate values by the importing HTML and XHTML stylesheets.</p>
  <synopsis>
   <terms>
    <item>
diff --git a/xslt/mallard/common/mal-if.xsl b/xslt/mallard/common/mal-if.xsl
index 0a3e7d1a..5b4b3d06 100644
--- a/xslt/mallard/common/mal-if.xsl
+++ b/xslt/mallard/common/mal-if.xsl
@@ -39,7 +39,8 @@ The list of supported target tokens.
 This parameter takes a space-separated list of tokens to enable for conditional
 processing. It is used by the template {mal.if.test}. This parameter is meant
 to hold tokens starting with `target:`. It should usually be set by the primary
-importing stylesheet.
+importing stylesheet. The default in this stylesheet is just `''`, but it is
+set to appropriate values by the importing HTML and XHTML stylesheets.
 -->
 <xsl:param name="mal.if.target" select="''"/>
 
@@ -65,7 +66,9 @@ The list of supported feature tokens.
 This parameter takes a space-separated list of tokens to enable for conditional
 processing. It is used by the template {mal.if.test}. This parameter is meant
 to hold tokens that specify the capabilities of these stylesheets. It should
-usually be set by the primary importing stylesheet.
+usually be set by the primary importing stylesheet. The default in this
+stylesheet is just `'mallard:1.0'`, but it is set to a more complete set of
+features by the importing HTML and XHTML stylesheets.
 -->
 <xsl:param name="mal.if.features" select="'
 mallard:1.0


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]