hello i changed the sofftodocbookheadings.xsl to fit my needs.
I want to use for ex. the openoffice "bold" button to format my text. It it not supportet by docbook translation. So i added the following:
This works and produces:
Problem: When only a portion of the text is bold then the whole paragraph is treted as bold.
in OO-xml it looks like:
so how can i solve the problem?
I need a closing </bold> when the
begins. And also again an opening <bold> after the
and of course the closing </bold> after the
Has anybody a good idea?
Thanks in advance!
I want to use for ex. the openoffice "bold" button to format my text. It it not supportet by docbook translation. So i added the following:
Code:
<xsl:template match="text:p[@text:style-name='P1']">
<xsl:element name="bold">
<xsl:apply-templates/>
</xsl:element>
</xsl:template>
Code:
<bold>fettdfasd</bold>
in OO-xml it looks like:
Code:
<text:p text:style-name="Standard"/><text:p text:style-name="P1">bold written text<text:span text:style-name="T1">this should be not bold</text:span>bold again</text:p>
so how can i solve the problem?
I need a closing </bold> when the
Code:
<text:span text:style-name="T1">
Code:
</text:span>
Code:
</text:p>
Thanks in advance!