summaryrefslogtreecommitdiff
path: root/xslt/mallard/html/mal2html-list.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'xslt/mallard/html/mal2html-list.xsl')
-rw-r--r--xslt/mallard/html/mal2html-list.xsl24
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()"/>