Issue 15692 - Patch: This adds Quotation support to docbook XSLT files
Summary: Patch: This adds Quotation support to docbook XSLT files
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Code
Component: external filters (show other issues)
Version: OOo 1.1 Beta2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: aidan.butler
QA Contact: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-16 21:06 UTC by kfowlks
Modified: 2005-04-14 13:12 UTC (History)
1 user (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description kfowlks 2003-06-16 21:06:44 UTC
The following patch adds support for using the native Open Office Quotation
style in DocBook documents.  This is important because " charater is being
wrriten in UFT-16 or otherwise it's being translated to garbage in DocBook output.

Currently Quotation in the style list does not map to DocBook <quote> markup
element. 

Note: Quotation (character style name in open office) is written as Citation in
the resulting native Open Office XML file format.  Is this correct? 

file docbooktosoffheadings.xsl
<!-- Change Made By Kevin Fowlks (fowlks@msu.edu) June 16th, 2003 -->
    <xsl:template match="quote">
        <xsl:element name="text:span">
            <xsl:attribute name="text:style-name">Citation</xsl:attribute>
            <xsl:apply-templates/>
        </xsl:element>
    </xsl:template>

file sofftodocbookheadings_article.xsl
<!-- Change Made By Kevin Fowlks (fowlks@msu.edu) June 16th, 2003 -->
<xsl:when test="@text:style-name=&apos;Citation&apos;">
<xsl:element name="quote">
<xsl:apply-templates/>	
</xsl:element>
</xsl:when>
Comment 1 aidan.butler 2003-06-17 09:28:38 UTC
Aidan: Patch applied.
Comment 2 jogi 2005-04-14 13:12:14 UTC
.
Comment 3 jogi 2005-04-14 13:12:39 UTC
.