Changeset 73
- Timestamp:
- 05/16/08 17:36:51 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bibtexml2dbk.xsl
r71 r73 13 13 update : 14 14 $Id$ 15 fplod 2008-05-16T14:49:33Z aedon.locean-ipsl.upmc.fr (Darwin) 16 add bibtex:book, bibtex:manual and bibtex:misc : biblioset 15 17 fplod 2008-05-16T14:32:48Z aedon.locean-ipsl.upmc.fr (Darwin) 16 18 bug fix on bibioset … … 58 60 <xsl:element name="biblioentry"> 59 61 <xsl:attribute name="xml:id"><xsl:value-of select="@id"/></xsl:attribute> 62 <!--++ key as info element--> 60 63 <xsl:apply-templates select="bibtex:article"/> 61 <!--++ key--> 64 <xsl:apply-templates select="bibtex:book"/> 65 <xsl:apply-templates select="bibtex:manual"/> 66 <xsl:apply-templates select="bibtex:misc"/> 62 67 </xsl:element> 63 68 </xsl:template> … … 111 116 </xsl:template> 112 117 118 <xsl:template match="bibtex:book"> 119 <xsl:apply-templates select="bibtex:title"/> 120 <xsl:apply-templates select="bibtex:author"/> 121 <xsl:apply-templates select="bibtex:isbn"/> 122 <xsl:element name="biblioset"> 123 <!-- ++ book relation is not yet implented in DocBook processing --> 124 <xsl:attribute name="relation"><xsl:value-of select="'book'"/></xsl:attribute> 125 <xsl:apply-templates select="bibtex:publisher"/> 126 <xsl:apply-templates select="bibtex:edition"/> 127 <xsl:apply-templates select="bibtex:volume"/> 128 <xsl:apply-templates select="bibtex:pages"/> 129 <xsl:apply-templates select="bibtex:year"/> 130 </xsl:element> 131 </xsl:template> 132 133 <xsl:template match="bibtex:manual"> 134 <xsl:apply-templates select="bibtex:title"/> 135 <xsl:apply-templates select="bibtex:author"/> 136 <xsl:element name="biblioset"> 137 <!-- ++ manual relation is not yet implented in DocBook processing --> 138 <xsl:attribute name="relation"><xsl:value-of select="'manual'"/></xsl:attribute> 139 <xsl:apply-templates select="bibtex:year"/> 140 <xsl:apply-templates select="bibtex:publisher"/> 141 <xsl:apply-templates select="bibtex:organization"/> 142 </xsl:element> 143 <xsl:apply-templates select="bibtex:url"/> 144 </xsl:template> 145 146 <xsl:template match="bibtex:misc"> 147 <xsl:apply-templates select="bibtex:title"/> 148 <xsl:apply-templates select="bibtex:author"/> 149 <xsl:element name="biblioset"> 150 <!-- can't know precise relation. set to journal--> 151 <xsl:attribute name="relation"><xsl:value-of select="'journal'"/></xsl:attribute> 152 <xsl:apply-templates select="bibtex:year"/> 153 </xsl:element> 154 <xsl:apply-templates select="bibtex:url"/> 155 </xsl:template> 156 157 113 158 <xsl:template match="bibtex:publisher|bibtex:organization"> 114 159 <xsl:element name="publisher"> … … 192 237 <xsl:template match="bibtex:url"> 193 238 <xsl:element name="biblioid"> 194 <xsl:attribute name=" uri"><xsl:value-of select="."/></xsl:attribute>239 <xsl:attribute name="class"><xsl:value-of select="'uri'"/></xsl:attribute> 195 240 <xsl:value-of select="."/> 196 241 </xsl:element>
Note: See TracChangeset
for help on using the changeset viewer.