Re: Converting DocBook to DOCX making use of named styles
Hussein Shafie <[email protected]> Sat, 30 Apr 2016 10:15:52 +0200
| Newsgroups | gmane.text.xml.xfc.general |
|---|---|
| Message-ID | <[email protected]> |
Michele Z. wrote: > > I have tried your product and it appears to be doing what we need. > I say 'appears' because I didn't manage to exercise all the features we > need, most notably the Styles in Microsoft Word. > The reason for this is that we generate FO files from a DocBook > compliant XML using DocBook XSL at > http://wiki.docbook.org/DocBookXslStylesheets This is expected when you convert DocBook documents to DOCX. > > I read (most of) the detailed explanation provided at: > http://www.xmlmind.com/foconverter/_distrib/doc/user/user_styles.html > and it still appears to me (but I am no expert in these matters) that > the FO file itself require a modification to have things like > > <fo:inline*xfc:user-style="Warning"*> > > included in it. Yes, that's right. You have understood the issue. > > Do you happen to know if anybody already took the pain of > modifying/enhancing the DocBook XSL files so that the generated FO can > be processed with your product and user styles can be obtained? Nobody did that, not even us, XMLmind. It would be a long, tedious and error prone task given the size and complexity of the DocBook XSL stylesheets. I must add that given the way the DocBook XSL stylesheets are written (i.e. no systematic use of xsl:attribute-sets), I see no way to automate this process (i.e. use an XSLT to automatically generate a variant of the DocBook XSL stylesheets making use of xfc:user-style). We know for sure that some of our customers use the xfc:user-style feature but they do so in their own, in-house, XSL stylesheets, which always happen to have moderate size and complexity. -- XMLmind FO Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xfc-support