Joined: 18 May 2004
|Posted: Fri Sep 10, 2004 2:47 am Post subject: changed docbook.xsl is not working in correct way
|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:
|<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
|<text:span text:style-name="T1"> |
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!