Re: FW: Question regarding the attribute editor
Hussein Shafie <[email protected]> Tue, 8 Nov 2022 18:22:35 +0100
| Newsgroups | gmane.editors.xxe.general |
|---|---|
| Message-ID | <[email protected]> |
On 11/8/22 16:56, Hurd, Alex wrote: > I only have one question left, I am trying to use conditional processing but it doesn’t seem to be working with the new attributes I made. > > Am I missing something to use my new attribute for conditional processing? > In principle, conditional processing is supported by the DocBook XSL stylesheets only for the following standard attributes: arch, audience, condition, ..., vendor, wordsize. See http://www.sagehill.net/docbookxsl/Profiling.html However it seems that there is a (advanced?) way to use any other attribute for that. See “Custom profiling attribute” in http://www.sagehill.net/docbookxsl/CustomProfilingAttr.html Personally, I never used a custom profiling attribute so it will be difficult for me to help. --> IMPORTANT: You must have selected the DocBook profiling XSL stylesheets rather than the default, non-profiling, ones for conditional processing (AKA profiling) attributes to work. This is done once for all. See attached screenshot. How to do this is explained in note "Using the profiling stylesheets": http://www.xmlmind.com/xmleditor/_distrib/doc/docbook/docbook_menu.html#docbook_convert_menu Therefore, please explain HOW you are trying to use attribute Entity_x for conditional processing. I mean: - Do you use our "Easy Profiling" add-on for that? (http://www.xmlmind.com/xmleditor/_distrib/doc/profiling/index.html) In such case, please send us privately your ".profiles" file. - Do you just want to perform conditional processing using attribute Entity_x when converting your DocBook document to other formats (HTML, PDF, DOCX, etc). In such case, please explain where and how you put attribute Entity_x to use. -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support
Selecting_the_profiling_stylesheets_when_converting_DocBook_to_PDF.png
(image/png, 221.5 KB) - not displayed