You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by is...@cocoondev.org on 2003/06/15 22:23:54 UTC

[issues] Created: (FOR-42) Inlinegraphic element is not transformed to document format.

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-42


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-42
    Summary: Inlinegraphic element is not transformed to document  format.
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Forrest
  Component: Core operations
   Versions:
             HEAD

   Assignee: 
   Reporter: Juan Jose Pablos

    Created: Sun, 15 Jun 2003 10:23 PM
    Updated: Sun, 15 Jun 2003 10:23 PM

Description:
An inline graphic element is missing on the transformet style sheet.
I suggest this patch:

Index: src/resources/stylesheets/docbook2document.xsl
===================================================================
RCS file: /home/cvspublic/xml-forrest/src/resources/stylesheets/docbook2document.xsl,v
retrieving revision 1.10
diff -u -r1.10 docbook2document.xsl
--- src/resources/stylesheets/docbook2document.xsl	12 Jun 2003 11:07:48 -0000	1.10
+++ src/resources/stylesheets/docbook2document.xsl	15 Jun 2003 20:16:29 -0000
@@ -454,6 +454,10 @@
             <xsl:apply-templates/>
       </xsl:template>
 
+      <xsl:template match="inlinegraphic">
+                        <img alt="{@srccredit}" src="{@fileref}"/>
+      </xsl:template>
+
       <xsl:template match="graphic|imagedata">
             <tr>
                   <td>


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org/jira//Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira