[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: ePub output: suggestion to add 'opf:file-as' for 'dc:creator'
The following patch (against 1.74.3) allows to add the 'opf:file-as'
attribute to the 'dc:creator' element in the opf file. I'd like to see
this merged into epub/docbook.xsl.
Thanks
Michael
--- docbook.xsl.org 2009-03-27 08:22:35.000000000 +0100
+++ docbook.xsl 2009-04-01 15:12:58.000000000 +0200
@@ -617,6 +617,11 @@
</xsl:call-template>
</xsl:variable>
<xsl:element name="dc:creator">
+ <xsl:attribute name="opf:file-as">
+ <xsl:call-template name="person.name.last-first">
+ <xsl:with-param name="node" select="."/>
+ </xsl:call-template>
+ </xsl:attribute>
<xsl:value-of select="normalize-space(string($n))"/>
</xsl:element>
</xsl:template>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]