diff options
author | Shaun McCance <shaunm@redhat.com> | 2018-09-22 19:03:59 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@redhat.com> | 2018-09-22 19:03:59 -0400 |
commit | 6e1df911f1309025eb69dc07ffc92435e09c2457 (patch) | |
tree | f5faf6ce4bd65a282337265896ba42c7d874bd10 /xslt/mallard/html/mal2html-list.xsl | |
parent | c2d83e8e13ab76ff3c81d9d5577653c6977727b3 (diff) | |
download | yelp-xsl-6e1df911f1309025eb69dc07ffc92435e09c2457.tar.gz |
Change xsldoc to use ducktype
Diffstat (limited to 'xslt/mallard/html/mal2html-list.xsl')
-rw-r--r-- | xslt/mallard/html/mal2html-list.xsl | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/xslt/mallard/html/mal2html-list.xsl b/xslt/mallard/html/mal2html-list.xsl index 352bc3fc..d494f243 100644 --- a/xslt/mallard/html/mal2html-list.xsl +++ b/xslt/mallard/html/mal2html-list.xsl @@ -26,11 +26,11 @@ along with this program; see the file COPYING.LGPL. If not, see <http://www.gnu <!--!!========================================================================== Mallard to HTML - Lists Handle Mallard list elements. -:Revision: version="1.0" date="2010-06-04" status="final" +@revision[version=1.0 date=2010-06-04 status=final] -This stylesheet contains templates for the #{list}, #{steps}, #{terms}, and -#{tree} elements in %{mal2html.block.mode}. It handles the parent list elements, -as well as any special processing for child #{item} elements. +This stylesheet contains templates for the `list`, `steps`, `terms`, and +`tree` elements in {mal2html.block.mode}. It handles the parent list elements, +as well as any special processing for child `item` elements. --> <!-- = list = --> @@ -302,16 +302,18 @@ as well as any special processing for child #{item} elements. <!--%%========================================================================== mal2html.tree.mode -Process an #{item} element inside a #{tree}. -:Revision: version="1.0" date="2010-06-04" status="final" +Process an `item` element inside a `tree`. +@revision[version=1.0 date=2010-06-04 status=final] + +[xsl:params] $lines: Whether to draw lines indicating hierarchy. -$prefix: The line markers used by the parent #{item}. +$prefix: The line markers used by the parent `item`. -This mode is used for processing #{item} elements in #{tree} elements. It is -applied by the template for #{tree} and recursively calls itself. If the parent -#{tree} has the style hint #{"lines"}, the ${lines} parameter will be #{true}. +This mode is used for processing `item` elements in `tree` elements. It is +applied by the template for `tree` and recursively calls itself. If the parent +`tree` has the style hint `"lines"`, the $lines parameter will be `true`. In this case, this template calculates a prefix based on its position and -neighboring #{item} elements, and passes that prefix to child elements. +neighboring `item` elements, and passes that prefix to child elements. --> <xsl:template mode="mal2html.tree.mode" match="mal:item"> <xsl:param name="lines" select="false()"/> |