Revision: 6193
Author: xmldoc
Date: 2006-08-23 17:47:22 -0700 (Wed, 23 Aug 2006)
ViewCVS: http://svn.sourceforge.net/docbook/?rev=6193&view=rev
Log Message:
-----------
Added more IDs, and added support to docsrc/xsl2jref.xsl for
copying their values to output.
Modified Paths:
--------------
trunk/xsl/docsrc/xsl2jref.xsl
trunk/xsl/template/titlepage.xsl
Modified: trunk/xsl/docsrc/xsl2jref.xsl
===================================================================
--- trunk/xsl/docsrc/xsl2jref.xsl 2006-08-24 00:05:39 UTC (rev 6192)
+++ trunk/xsl/docsrc/xsl2jref.xsl 2006-08-24 00:47:22 UTC (rev 6193)
@@ -245,9 +245,10 @@
<xsl:template match="doc:template[@match]">
<xsl:variable name="match" select="@match"/>
<xsl:variable name="mode" select="@mode"/>
+ <xsl:variable name="id" select="@id"/>
<xsl:text> </xsl:text>
- <refentry>
+ <refentry id="{$id}">
<xsl:text> </xsl:text>
<refnamediv>
<xsl:text> </xsl:text>
Modified: trunk/xsl/template/titlepage.xsl
===================================================================
--- trunk/xsl/template/titlepage.xsl 2006-08-24 00:05:39 UTC (rev 6192)
+++ trunk/xsl/template/titlepage.xsl 2006-08-24 00:47:22 UTC (rev 6193)
@@ -59,7 +59,7 @@
<!-- ==================================================================== -->
-<doc:template match="t:templates" xmlns="">
+<doc:template match="t:templates" xmlns="" id="templates">
<refpurpose>Construct a stylesheet for the templates provided</refpurpose>
<refdescription>
@@ -103,7 +103,7 @@
<!-- ==================================================================== -->
-<doc:template match="xsl:*" xmlns="">
+<doc:template match="xsl:*" xmlns="" id="star">
<refpurpose>Copy xsl: elements straight through</refpurpose>
<refdescription>
@@ -118,7 +118,7 @@
<!-- ==================================================================== -->
-<doc:template match="t:titlepage" xmlns="">
+<doc:template match="t:titlepage" xmlns="" id="titlepage">
<refpurpose>Create the templates necessary to construct a title page</refpurpose>
<refdescription>
@@ -446,7 +446,8 @@
</xsl:for-each>
</xsl:template>
-<doc:template match="@*" mode="copy.literal.atts" xmlns="">
+<doc:template match="@*" mode="copy.literal.atts" xmlns=""
+ id="attr_star_in_copy.literal.atts">
<refpurpose>Copy t:titlepage attributes</refpurpose>
<refdescription>
@@ -467,7 +468,7 @@
<!-- ==================================================================== -->
-<doc:template match="t:titlepage-content">
+<doc:template match="t:titlepage-content" id="titlepage-content">
<refpurpose>Create templates for the content of one side of a title page</refpurpose>
<refdescription>
@@ -625,7 +626,7 @@
<!-- ==================================================================== -->
-<doc:template match="t:titlepage-separator">
+<doc:template match="t:titlepage-separator" id="titlepage-separator">
<refpurpose>Create templates for the separator</refpurpose>
<refdescription>
@@ -650,7 +651,7 @@
<!-- ==================================================================== -->
-<doc:template match="t:titlepage-before">
+<doc:template match="t:titlepage-before" id="titlepage-before">
<refpurpose>Create templates for what precedes a title page</refpurpose>
<refdescription>
@@ -676,7 +677,7 @@
<!-- ==================================================================== -->
-<doc:template match="*" mode="copy" xmlns="">
+<doc:template match="*" mode="copy" xmlns="" id="star_in_copy">
<refpurpose>Copy elements</refpurpose>
<refdescription>
@@ -694,7 +695,7 @@
<!-- ==================================================================== -->
-<doc:template match="@*" mode="copy" xmlns="">
+<doc:template match="@*" mode="copy" xmlns="" id="attr_star_in_copy">
<refpurpose>Copy attributes</refpurpose>
<refdescription>
@@ -711,7 +712,7 @@
<!-- ==================================================================== -->
-<doc:template match="*" mode="document.order" xmlns="">
+<doc:template match="*" mode="document.order" xmlns="" id="attr_star_in_document.order">
<refpurpose>Create rules to process titlepage elements in document order</refpurpose>
<refdescription>
@@ -818,7 +819,7 @@
<!-- ==================================================================== -->
-<doc:template match="*" mode="document.order" xmlns="">
+<doc:template match="*" mode="document.order" xmlns="" id="star_in_document.order">
<refpurpose>Create rules to process titlepage elements in stylesheet order</refpurpose>
<refdescription>
@@ -1095,7 +1096,8 @@
<!-- ==================================================================== -->
-<doc:template match="*" mode="titlepage.specialrules" xmlns="">
+<doc:template match="*" mode="titlepage.specialrules" xmlns=""
+ id="star_in_titlepage.specialrules">
<refpurpose>Create templates for special rules</refpurpose>
<refdescription>
@@ -1147,7 +1149,8 @@
<!-- ==================================================================== -->
-<doc:template match="*" mode="titlepage.subrules" xmlns="">
+<doc:template match="*" mode="titlepage.subrules" xmlns=""
+ id="star_in_titlepage.subrules">
<refpurpose>Create template for individual special rules</refpurpose>
<refdescription>
@@ -1186,7 +1189,7 @@
<!-- ==================================================================== -->
-<doc:template match="t:or" xmlns="">
+<doc:template match="t:or" xmlns="" id="or">
<refpurpose>Process the t:or special rule</refpurpose>
<refdescription>
@@ -1224,7 +1227,8 @@
<!-- ==================================================================== -->
-<doc:template match="t:or" mode="titlepage.subrules" xmlns="">
+<doc:template match="t:or" mode="titlepage.subrules" xmlns=""
+ id="or_in_titlepage.subrules">
<refpurpose>Process the t:or special rule in
titlepage.subrules mode</refpurpose>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|