]> granicus.if.org Git - docbook-dsssl/commitdiff
Removed the xsl:import from the example since it doesn't work that way.
authorBob Stayton <bobs@sagehill.net>
Mon, 7 Mar 2005 22:15:03 +0000 (22:15 +0000)
committerBob Stayton <bobs@sagehill.net>
Mon, 7 Mar 2005 22:15:03 +0000 (22:15 +0000)
xsl/docsrc/templates.xml

index 2e936370a03110e787e2ff7969346bca5337fc7f..4864ff470ff302e23e8687e0a1ecb5a30ee1227b 100644 (file)
@@ -76,8 +76,6 @@ produce the following somewhat cryptic stylesheet:</para>
 
 <!-- This stylesheet was created by titlepage.xsl; do not edit it by hand. -->
 
-<xsl:import href="/path/to/html/docbook.xsl"/>
-
 <xsl:template name="article.titlepage.recto"><xsl:apply-templates mode="article.titlepage.recto.mode" select="(articleinfo/title|artheader/title|title)[1]|articleinfo/author|artheader/author|articleinfo/edition|artheader/edition"/>
 </xsl:template>
 
@@ -95,6 +93,12 @@ produce the following somewhat cryptic stylesheet:</para>
 ]]></screen>
 
 <para>Despite its cryptic appearance, it has the desired result.
+When you use <literal>xsl:include</literal> to include these
+generated templates into the main stylesheet, then they are
+used to format the title page elements.
+The elements are selected and processed in the order you specified.
+</para>
+<para>
 If you want to change <emphasis>how</emphasis> the titlepage elements
 are formatted (as opposed to which ones are formatted), you have to
 write your own customization layer that overrides the template for