What is the @base attribute used in attribute specialization?
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 316
- 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
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
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: What is the @base attribute used in attribute specialization?
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
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
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 922
- 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:
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.
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service