[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Discussion item - do we still need itemgroup?
Robert, you raise an good point. This looks like another opportunity to simplify and clean up…. I’m inclined to go with <div> and kill <itemgroup>. Gershon Joseph | Senior Information Architect | Precision Content Unlock the Knowledge in Your Enterprise™
From:
dita@lists.oasis-open.org <dita@lists.oasis-open.org> The <itemgroup> element has been around since the beginning of DITA. It’s the basis for most of the elements inside of a task step (like stepxmp, tutorialinfo, etc). In the specification, we’ve always defined
it in the “specialization elements” section – it’s intended for cases like the task step, where you want to subdivide a list. A special container was used because we needed exactly that container for task steps, and because at the time we didn’t want to have
an arbitrary “div” container available everywhere. Since DITA 1.0, that <itemgroup> element has been available exclusively in list items and in <dd> elements. In DITA 1.3 we added the <div> element. In the base vocabulary, it’s available anywhere that itemgroup can go. It has exactly the same content model, exactly the same set of attributes, and it’s ideal for
specializations. I was editing the <itemgroup> element reference topic this weekend and found it hard to come up with an example – I kept coming back to “Why wouldn’t I do this with <div>?” Which got me wondering – is <itemgroup> needed anymore? What would we lose if we got rid of it?
I’m curious what others think about this? Thanks, Robert |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]