How to make short desc mandatory for topics?
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 11
- Joined: Wed Dec 18, 2019 9:20 am
How to make short desc mandatory for topics?
Hi,
We want to make shortdesc element mandatory for concept and task topics? Which is the best way to do it?
I read that we could achieve it using constraints here https://www.oxygenxml.com/dita/stylegui ... atory.html
Can the steps to achieve the same be explained?
Thanks,
Sumi
We want to make shortdesc element mandatory for concept and task topics? Which is the best way to do it?
I read that we could achieve it using constraints here https://www.oxygenxml.com/dita/stylegui ... atory.html
Can the steps to achieve the same be explained?
Thanks,
Sumi
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to make short desc mandatory for topics?
Hi,
One option is to create a DITA DTD constraint vocabulary which imposes the shortdesc as a mandatory element and use that vocabulary when editing your DITA content.
There is a tutorial about DITA specializations by Eliot Kimber:
https://www.xiruss.org/tutorials/dita-specialization/
An alternative is to use a Schematron validation stage:
https://oxygenxmlblog.netlify.com/topic ... rules.html
Regards,
Radu
One option is to create a DITA DTD constraint vocabulary which imposes the shortdesc as a mandatory element and use that vocabulary when editing your DITA content.
There is a tutorial about DITA specializations by Eliot Kimber:
https://www.xiruss.org/tutorials/dita-specialization/
An alternative is to use a Schematron validation stage:
https://oxygenxmlblog.netlify.com/topic ... rules.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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