Defining Conditional Profiling Groups in Subject Scheme maps

Nadine K
Posts: 7
Joined: Tue Mar 05, 2019 1:13 pm

Defining Conditional Profiling Groups in Subject Scheme maps

Post by Nadine K » Mon Mar 25, 2019 11:31 am

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: 6398
Joined: Fri Jul 09, 2004 5:18 pm

Re: Defining Conditional Profiling Groups in Subject Scheme maps

Post by Radu » Mon Mar 25, 2019 3:00 pm

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 » Wed Mar 27, 2019 3:32 pm

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: 6398
Joined: Fri Jul 09, 2004 5:18 pm

Re: Defining Conditional Profiling Groups in Subject Scheme maps

Post by Radu » Wed Mar 27, 2019 4:42 pm

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 » Tue Apr 02, 2019 11:21 am

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: 6398
Joined: Fri Jul 09, 2004 5:18 pm

Re: Defining Conditional Profiling Groups in Subject Scheme maps

Post by Radu » Tue Apr 02, 2019 2:18 pm

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 » Tue Apr 23, 2019 10:16 am

Please keep me informed in case the functionality is included in a release.
Thanks !
Best regards
Nadine

Radu
Posts: 6398
Joined: Fri Jul 09, 2004 5:18 pm

Re: Defining Conditional Profiling Groups in Subject Scheme maps

Post by Radu » Tue Apr 23, 2019 10:38 am

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

Post Reply