Re: Passing profiling conditions into transformation for DocBook
Hussein Shafie <[email protected]> Tue, 14 May 2024 16:42:20 +0200
| Newsgroups | gmane.editors.xxe.general |
|---|---|
| Message-ID | <[email protected]> |
On 5/14/24 12:20, Jirka Kosek wrote: > On 14.05.2024 12:18, Hussein Shafie wrote: >> First of all, have you selected the DocBook profiling XSLT >> stylesheets? Because by default, it's the non-profiling XSLT >> stylesheets which are used. >> >> Selecting the DocBook profiling XSLT stylesheets is just a matter of >> using "Options → Customize Configuration → Customize Document >> Conversion Stylesheets" once for all (for all the output formats you >> are targeting). >> >> See note "Using the profiling stylesheets" in >> https://www.xmlmind.com/xmleditor/_distrib/doc/docbook/docbook_menu.html > > Actually I was using my custom stylesheet (that is customization of > stock profiling stylesheets). It's OK provided your customization of stock profiling stylesheets is actually used by XXE. Then I'll assume that the problem is elsewhere. Please send me (mailto:[email protected]) your ".profiles" file and also, if it's not too much effort for you, a sample DocBook document where some of profiling attributes are used and the I'll try to reproduce the problem here. > And I haven't seen other parameters than > profile.value and profile.attribute set in the log. > I'm sorry but I don't understand this. In attached screenshot, I have a profile named "java", where attribute @condition, if set, must be set to "java" and attribute @userlevel must, if set, be set to "normal" for a DocBook element to appear in the converted file. When I select this profile, I see in XXE's "Command Execution" log (https://www.xmlmind.com/xmleditor/_distrib/doc/help/statusTool.html) --- ... Using the following stylesheet parameters: base.dir=/tmp/xxe4889550592727659779_d/ profile.userlevel=normal admon.textlabel=0 callout.graphics=1 callout.graphics.extension=.svg admon.graphics=1 toc.section.depth=3 admon.graphics.extension=.svg html.stylesheet=html.css use.extensions=1 section.autolabel=1 graphicsize.extension=0 profile.condition=java ... --- and I get the expected output. -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support
XXE_command_execution_log.png
(image/png, 360.5 KB) - not displayed