Apache OpenOffice (AOO) Bugzilla – Issue 15692
Patch: This adds Quotation support to docbook XSLT files
Last modified: 2005-04-14 13:12:39 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='Citation'"> <xsl:element name="quote"> <xsl:apply-templates/> </xsl:element> </xsl:when>
Aidan: Patch applied.
.