Defining Conditional Profiling Groups in Subject Scheme maps

Post here questions and problems related to editing and publishing DITA content.
Nadine K
Posts: 7
Joined: Tue Mar 05, 2019 1:13 pm

Defining Conditional Profiling Groups in Subject Scheme maps

Post 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
Radu
Posts: 9044
Joined: Fri Jul 09, 2004 5:18 pm

Re: Defining Conditional Profiling Groups in Subject Scheme maps

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Nadine K
Posts: 7
Joined: Tue Mar 05, 2019 1:13 pm

Re: Defining Conditional Profiling Groups in Subject Scheme maps

Post 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.
Radu
Posts: 9044
Joined: Fri Jul 09, 2004 5:18 pm

Re: Defining Conditional Profiling Groups in Subject Scheme maps

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Nadine K
Posts: 7
Joined: Tue Mar 05, 2019 1:13 pm

Re: Defining Conditional Profiling Groups in Subject Scheme maps

Post 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:
Radu
Posts: 9044
Joined: Fri Jul 09, 2004 5:18 pm

Re: Defining Conditional Profiling Groups in Subject Scheme maps

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Nadine K
Posts: 7
Joined: Tue Mar 05, 2019 1:13 pm

Re: Defining Conditional Profiling Groups in Subject Scheme maps

Post by Nadine K »

Please keep me informed in case the functionality is included in a release.
Thanks !
Best regards
Nadine
Radu
Posts: 9044
Joined: Fri Jul 09, 2004 5:18 pm

Re: Defining Conditional Profiling Groups in Subject Scheme maps

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Cosmin Duna
Site Admin
Posts: 120
Joined: Wed Dec 12, 2018 5:33 pm

Re: Defining Conditional Profiling Groups in Subject Scheme maps

Post 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
Cosmin Duna
<oXygen/> XML Editor
http://www.oxygenxml.com
chrispitude
Posts: 907
Joined: Thu May 02, 2019 2:32 pm

Re: Defining Conditional Profiling Groups in Subject Scheme maps

Post 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!
Post Reply