Hello Jirka,

On 5/14/24 11:47, Jirka Kosek wrote:
Hi,

I'm creating very simple DocBook 5.0 customization for XXE (just one additional PDF stylesheet and DocBook schema with additional profiling attributes defined).

I'm trying to properly configure "Easy profiling" to be used instead of manual editing of effectivity attributes and then specifying profile.* parameters when invoking transformation.

Configuration in editor works as expected. However I have troubles passing profiling information to transformation.

When I choose some profile in DocBook -> Conditional Processing -> Select Profile and then invoke document conversion it seems that only one profiling attribute is passed to XSLT -- in my case it was lang attribute passed by using profile.attribute and profile.name XSLT parameters. I would like all profiling attributes to be passed by using profile.lang, profile.condition, etc. parameters.

It seems that XXE is doing some undocumented magic here or I've missed something. And ideally I need to pass some additional parameters for effectivity attributes added to extended DocBook schema.


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


--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to