grouped values in attributes allowed?

idtp
Posts: 8

grouped values in attributes allowed?

Tue May 15, 2018 2:17 pm

Hi,

I tried to use group values in attributes: otherprops="personen(2 3 4 5 6 7 8)". According to the DITA 1.3 spec this should be valid - but it looks like it's not being supported. Or am I doing it wrong?

spec: 2.4.3.1 Conditional processing values and groups

Thanks,
Radu
Posts: 5749

Re: grouped values in attributes allowed?

Tue May 15, 2018 2:30 pm

Hi Wim,

Could you tell us how you would like this support implemented in Oxygen?
Oxygen does not (yet) have special support for grouped attribute values. By special support I would mean the possibility to meaningfully edit these values when using the "Edit Profiling Attributes" action.
But the DITA OT publishing engine should be able to filter published content based on the appropriate DITAVAL filters.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
idtp
Posts: 8

Re: grouped values in attributes allowed?

Tue May 15, 2018 2:53 pm

Hi Radu,

For this example, I'd like @otherprops="personen(2 3 4 5 6 7 8)" to be treated as @personen="2 3 4 5 6 7 8" .

As described in 2.5.4.4 Attribute generalization.

Wim
idtp
Posts: 8

Re: grouped values in attributes allowed?

Tue May 15, 2018 3:01 pm

In stead of 8) there should be '8)' - 8 and ).
Radu
Posts: 5749

Re: grouped values in attributes allowed?

Wed May 16, 2018 11:54 am

Hi Wim,

So:

For this example, I'd like @otherprops="personen(2 3 4 5 6 7 9)" to be treated as @personen="2 3 4 5 6 7 9" .


As I said before, the publishing part should work like this.
Which leaves the editing part, for the editing part we plan to add special editing support for such values in the "Edit Profiling Attributes" dialog.
If you see another editing aspect which should be improved please tell me.
Creating profiling condition sets which refer to DITAVAL filter files and applying them in the editor to see what's filtered out and what's not should already work.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 1 guest