Page 1 of 1
Defining Conditional Profiling Groups in Subject Scheme maps
Posted: Mon Mar 25, 2019 11:31 am
by Nadine K
Hi
is there a way to define my conditional profiling groups in my subject scheme map?
I need the groups do define special filters, where only if all values in the group are included, other filters are set. I saw the corresponding help on the Ditaval files for the groups, but not how to define the groups in the subject scheme.
I am a bit lost here

Again.
regards,
Nadine
Re: Defining Conditional Profiling Groups in Subject Scheme maps
Posted: Mon Mar 25, 2019 3:00 pm
by Radu
Hi Nadine,
From what I think there is nothing in the Subject Scheme specs saying how this should work:
https://www.oxygenxml.com/dita/1.3/spec ... ibute.html
From what I discussed with by colleague who implemented this support, on the editing side I think we could try in the future to support some constructs like this:
Code: Select all
<hasInstance>
<subjectdef keys="productBaseSbjKey">
<subjectdef keys="X2000"/>
<subjectdef keys="X1000"/>
</subjectdef>
<subjectdef keys="productEngineersSbjKey">
<subjectdef keys="X2002"/>
<subjectdef keys="X1002"/>
</subjectdef>
</hasInstance>
<enumerationdef>
<attributedef name="product" outputclass="group(base)"/>
<subjectdef keyref="productBaseSbjKey"/>
</enumerationdef>
<enumerationdef>
<attributedef name="product" outputclass="group(extended)"/>
<subjectdef keyref="productEngineersSbjKey"/>
</enumerationdef>
meaning that in the XML content you could have something like:
Code: Select all
<p product="base(X1000 X2000) extended="X2002 X2001""
What's your opinion on this? I could try to add an internal issue to look into adding this improvement in a future version.
Regards,
Radu
Re: Defining Conditional Profiling Groups in Subject Scheme maps
Posted: Wed Mar 27, 2019 3:32 pm
by Nadine K
This solution would work then same as the now already implemented solution, right?
https://www.oxygenxml.com/dita/1.3/spec ... butes.html
How would i differentiate in the author mode between product group(base) and product group(extended)?
As it is now, there is no way to use a subject scheme map as well as the grouped attributes (at least not extending defined attributes of the subject scheme) which is very unlucky.
So I think an improvement would be very helpful.
thanks.
Re: Defining Conditional Profiling Groups in Subject Scheme maps
Posted: Wed Mar 27, 2019 4:42 pm
by Radu
Hi Nadine,
Our current support for profiling attribute groups works only by manually creating profiling attributes in the Oxygen Preferences, there is a video which shows how that works:
https://www.oxygenxml.com/doc/versions/ ... roups.html
Ideally we could have the same functionality but with the groups defined in the subject scheme map.
Regards,
Radu
Re: Defining Conditional Profiling Groups in Subject Scheme maps
Posted: Tue Apr 02, 2019 11:21 am
by Nadine K
Is there any way in versin 20 or 21 to use a subject scheme map and to define a group via the preferences?
As soon as i want to use a grouped profiling I get the error below
Value "Group(myattribute1 myattribute2)" for attribute "props" is not in the set of allowed values defined in the subject scheme:
Re: Defining Conditional Profiling Groups in Subject Scheme maps
Posted: Tue Apr 02, 2019 2:18 pm
by Radu
Hi Nadine,
Unfortunately no, once you define a Subject Scheme map in your project it takes control over everything else defined in the preferences.
Regards,
Radu
Re: Defining Conditional Profiling Groups in Subject Scheme maps
Posted: Tue Apr 23, 2019 10:16 am
by Nadine K
Please keep me informed in case the functionality is included in a release.
Thanks !
Best regards
Nadine
Re: Defining Conditional Profiling Groups in Subject Scheme maps
Posted: Tue Apr 23, 2019 10:38 am
by Radu
Hi Nadine,
When I created an internal issue I added a link to this forum thread. So when this gets fixed we'll update the forum thread.
Regards,
Radu
Re: Defining Conditional Profiling Groups in Subject Scheme maps
Posted: Thu Oct 13, 2022 3:52 pm
by Cosmin Duna
Hi,
Oxygen XML Editor 25.0 is out now and contains the improvement you requested in this post.
See this documentation topic for more information:
https://www.oxygenxml.com/doc/versions/ ... ect-scheme
Best regards,
Cosmin
Re: Defining Conditional Profiling Groups in Subject Scheme maps
Posted: Thu Oct 13, 2022 11:50 pm
by chrispitude
Hi Cosmin,
We use attribute groups to organize the @product attribute to product families, then products. This is exactly what we needed to make use of subject schemes. Thank you!