What is the @base attribute used in attribute specialization?

Post here questions and problems related to editing and publishing DITA content.
ann.jensen
Posts: 271
Joined: Wed Jun 17, 2015 10:19 am

What is the @base attribute used in attribute specialization?

Post by ann.jensen »

Hi,
I have been reading that one of the approaches to create a specialized attribute is to create one based on the @base attribute.
What does the @base attribute represent and is there anywhere I can read about it to understand which elements such a specialized attribute will be associated with by default?
Thanks in advance,
Ann
Radu
Posts: 8395
Joined: Fri Jul 09, 2004 5:18 pm

Re: What is the @base attribute used in attribute specialization?

Post by Radu »

Hi Ann,

From what I know the @base attribute is present just for inheritance purpose so it should not be set directly on elements:
https://www.oxygenxml.com/dita/1.3/spec ... butes.html
Profiling attributes are allowed on most DITA elements, I think they are not allowed on the DITA <entry> element as you cannot filter out a CALS table's columns.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
chrispitude
Posts: 710
Joined: Thu May 02, 2019 2:32 pm

Re: What is the @base attribute used in attribute specialization?

Post by chrispitude »

Hi Ann,

My understanding of DITA attribute specialization is as follows:
  • If you will filter with it using DITAVAL, specialize from @props.
  • If not, specialize from @base.
Post Reply