OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

dita message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [dita] Does the constraint mechanism allow removal of core elements?


Hi Bob,

I think this is what you are looking for:
http://docs.oasis-open.org/dita/dita/v1.3/cos01/part3-all-inclusive/archSpec/base/example-contraints-replace-base-element-w-domain-extensions.html

Basically, just do what you've done, but also define a constraint token that goes in @domains.

I don't think that the DTD syntax will allow you to remove <data> when you don't also have domain specializations of <data>, but fortunately you've got those here.

Robert D Anderson
IBM Authoring Tools Development
Chief Architect, DITA Open Toolkit (http://www.dita-ot.org/)

Inactive hide details for Bob Thomas ---10/14/2015 10:41:47---I am putting together authoring DTDs for DITA topics. One of the Bob Thomas ---10/14/2015 10:41:47---I am putting together authoring DTDs for DITA topics. One of the things that I would like to do is t

From: Bob Thomas <bob.thomas@tagsmiths.com>
To: dita <dita@lists.oasis-open.org>
Date: 10/14/2015 10:41
Subject: [dita] Does the constraint mechanism allow removal of core elements?
Sent by: <dita@lists.oasis-open.org>





I am putting together authoring DTDs for DITA topics. One of the things that I would like to do is to constrain away elements that are meant for architectural extension rather than for authoring. For example, it would be nice to remove <data>. The DTD mechanics for incorporating this into the content model are straightforward:

Out-of-the-box:
Constrained:
Is there a way in DITA 1.3 to declare this as a constraint? I suspect that there isn't. If that's the case, then I claim that there should be a way to declare this because it is a reasonable thing to do.

--
Bob Thomas
+1 720 201 8260
Skype: bob.thomas.colorado
Instant messaging: Gmail chat (bob.thomas@tagsmiths.com) or Skype
Time zone: Mountain (GMT-7)





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]