]> granicus.if.org Git - docbook-dsssl/commitdiff
Param to use standard XSL 1.1 bookmark elements.
authorBob Stayton <bobs@sagehill.net>
Tue, 7 Jan 2014 21:32:38 +0000 (21:32 +0000)
committerBob Stayton <bobs@sagehill.net>
Tue, 7 Jan 2014 21:32:38 +0000 (21:32 +0000)
xsl/params/xsl1.1.bookmarks.xml [new file with mode: 0755]

diff --git a/xsl/params/xsl1.1.bookmarks.xml b/xsl/params/xsl1.1.bookmarks.xml
new file mode 100755 (executable)
index 0000000..1b1a0e4
--- /dev/null
@@ -0,0 +1,41 @@
+<refentry xmlns="http://docbook.org/ns/docbook"
+          xmlns:xlink="http://www.w3.org/1999/xlink"
+          xmlns:xi="http://www.w3.org/2001/XInclude"
+          xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          version="5.0" xml:id="xsl1.1.bookmarks">
+<refmeta>
+<refentrytitle>xsl1.1.bookmarks</refentrytitle>
+<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>xsl1.1.bookmarks</refname>
+<refpurpose>Use standard XSL 1.1 bookmark elements</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment xml:id="xsl1.1.bookmarks.frag"><xsl:param
+name="xsl1.1.bookmarks">
+  <xsl:choose>
+    <xsl:when test="$fop1.extensions != 0">1</xsl:when>
+    <xsl:when test="$xep.extensions != 0">1</xsl:when>
+    <xsl:when test="$axf.extensions != 0">1</xsl:when>
+    <xsl:otherwise>0</xsl:otherwise>
+  </xsl:choose></xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsection><info><title>Description</title></info>
+
+<para>If non-zero (default),
+the stylesheet uses the 
+<tag>fo:bookmark-tree</tag>
+and
+<tag>fo:bookmark</tag> elements that are
+standard in XSL 1.1, instead of each XSL-FO processor's proprietary
+bookmark elements.
+If zero, then the stylesheet uses the proprietary bookmark elements that
+predate XSL 1.1.
+</para>
+
+</refsection>
+</refentry>