Re: [XXE] Passing profiling conditions into transformation for DocBook

2024-05-15 Thread Hussein Shafie
On 5/15/24 10:12, Jirka Kosek wrote: On 14.05.2024 18:19, Hussein Shafie wrote: Therefore, XXE is expected to invoke the DocBook XSLT stylesheets with either: profile.attribute=xml:lang (yes, profile.attribute=lang looks like a bug) profile.value=cs Actually profile.attribute=lang is OK as p

Re: [XXE] Passing profiling conditions into transformation for DocBook

2024-05-15 Thread Jirka Kosek
On 15.05.2024 8:56, Hussein Shafie wrote: At least I know that I have to use normal XSLT parameters for now as we are using custom profiling attributes. Yes, for now, but this will change in next version of XXE. Cool, I'm looking forward it. Thanks. -- ---

Re: [XXE] Passing profiling conditions into transformation for DocBook

2024-05-15 Thread Jirka Kosek
On 14.05.2024 18:19, Hussein Shafie wrote: Therefore, XXE is expected to invoke the DocBook XSLT stylesheets with either: profile.attribute=xml:lang (yes, profile.attribute=lang looks like a bug) profile.value=cs Actually profile.attribute=lang is OK as profiling stylesheets are checking onl

Re: [XXE] Passing profiling conditions into transformation for DocBook

2024-05-14 Thread Hussein Shafie
On 5/14/24 22:48, Jirka Kosek wrote: On 14.05.2024 18:19, Hussein Shafie wrote: Please do not hesitate to explain what's wrong with the two above assumptions (the list of "Common Effectivity Attributes" and the "Custom profiling attribute") and may be, point us to more up-to-date reference doc

Re: [XXE] Passing profiling conditions into transformation for DocBook

2024-05-14 Thread Jirka Kosek
On 14.05.2024 18:19, Hussein Shafie wrote: Please do not hesitate to explain what's wrong with the two above assumptions (the list of "Common Effectivity Attributes" and the "Custom profiling attribute") and may be, point us to more up-to-date reference documents. We'll be glad to fix bugs and/

Re: [XXE] Passing profiling conditions into transformation for DocBook

2024-05-14 Thread Jirka Kosek
On 14.05.2024 16:42, Hussein Shafie wrote: Then I'll assume that the problem is elsewhere. Please send me (mailto:huss...@xmlmind.com) 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

Re: [XXE] Passing profiling conditions into transformation for DocBook

2024-05-14 Thread Hussein Shafie
On 5/14/24 17:24, Jirka Kosek wrote: I've created simple example that uses stock DocBook. Please find attached sample DocBook file (profiling-test.xml) and definition of profiles (test.profiles). Many thanks for doing that. It's much clearer now. I'm using profiling on two attributes -

Re: [XXE] Passing profiling conditions into transformation for DocBook

2024-05-14 Thread Jirka Kosek
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 Configu

Re: [XXE] Passing profiling conditions into transformation for DocBook

2024-05-14 Thread Hussein Shafie
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 man