Tweak HV1 help styling and image elements.
[pub/USBasp.git] / LUFA / StudioIntegration / HV1 / lufa_docbook_transform.xsl
index c51944b..4247b47 100644 (file)
@@ -53,7 +53,7 @@
                        </xsl:call-template>
                </xsl:variable>
 
-               <book name="{$book.id}">
+               <book id="{$book.id}">
                        <title>
                                <xsl:value-of select="$book.title"/>
                        </title>
        </xsl:template>
 
        <xsl:template match="image">
-               <figure>
-                       <title>
-                               <xsl:value-of select="."/>
-                       </title>
-
-                       <mediaobject>
-                               <imageobject>
-                                       <imagedata>
-                                               <xsl:attribute name="fileref">
-                                                       <xsl:text>images/</xsl:text>
-                                                       <xsl:value-of select="@name"/>
-                                               </xsl:attribute>
-                                       </imagedata>
-                               </imageobject>
-                       </mediaobject>
-               </figure>
+               <mediaobject>
+                       <imageobject>
+                               <imagedata>
+                                       <xsl:attribute name="fileref">
+                                               <xsl:text>images/</xsl:text>
+                                               <xsl:value-of select="@name"/>
+                                       </xsl:attribute>
+                               </imagedata>
+                       </imageobject>
+               </mediaobject>
        </xsl:template>
 
        <xsl:template match="detaileddescription">