Re: DocBook conditional profile not working
Hussein Shafie <[email protected]>
| Newsgroups | gmane.editors.xxe.general |
|---|---|
| Message-ID | <[email protected]> |
On 9/11/20 12:36 AM, Gerd Wagner wrote: > I'm trying to generate a book with DocBook and a conditional profile > with XXE 9.4.0, but I don't get the expected output. > > I've set the master file as "Master Document" under [Tools] and selected > the profile (with audience="textbook") under [DocBook | Conditional > Processing]. > > But when I generate a DOCX, I get output with sections that are not > included in the profile (having audience="tutorial"). > > Am I missing something? > There are no know bugs related to this feature. 1) If you use a ".profiles" file (https://www.xmlmind.com/xmleditor/_distrib/doc/profiling/what_is_it.html), open it in XXE then use "File|Save As" to save it to the same location. This will ensure that the "low-level conditional processing files" exist along the high-level ".profiles" file. 2) Make sure to have selected he DocBook *profiling* XSLT stylesheets rather than the default, regular ones. More information in "1.1. The "Convert Document" sub-menu, Using the profiling stylesheets", https://www.xmlmind.com/xmleditor/_distrib/doc/docbook/docbook_menu.html#docbook_convert_menu -- XMLmind XML Editor Support List [email protected] https://www.xmlmind.com/mailman/listinfo/xmleditor-support