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


Help: OASIS Mailing Lists Help | MarkMail Help

dita-lightweight-dita message

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

Subject: Re: [dita-lightweight-dita] Does <data> need @href?

(Let's begin with my usual caveat about my years of focus on full DITA rather than lightweight, and then...)

The href attribute is pretty commonly used on <data> elements, with fairly straightforward use cases -- it either tells where the piece of metadata came from, or where to go to find more of it.

For example, I regularly seem to write sample topics about puffins. Anything based on a surprising fact from our favorite fact source might be tagged:
<data name="source" value="wikipedia" href="">https://en.wikipedia.org/wiki/Puffin"/>

For the few not writing about puffins, href really is the more semantic choice if you're trying to reference anything outside of the topic:
<data name="changelog" href="">http://example.com/changes-to-this-topic.log"/>
<data name="previous-version" href="">http://example.com/versionX.log"/>
<data name="from-collection" href="">

Obviously with that sample, those are pairs, so you could use name + value. But if you were doing it in full DITA, and used @value for a reference like that, I think a lot of people would be shaking their heads and wondering why.

Anyway, if you're already going to have <data> available already this seems to be a pretty common use case for both full and LwDITA.


Robert D. Anderson
DITA-OT lead and Co-editor DITA 1.3 specification,
Digital Services Group

E-mail: robander@us.ibm.com
Digital Services Group
11501 BURNET RD,, TX, 78758-3400, AUSTIN, USA

Inactive hide details for Carlos Evia ---03/31/2017 08:30:56 AM---Dear all, I agree with Alan. Let's make this an agenda item fCarlos Evia ---03/31/2017 08:30:56 AM---Dear all, I agree with Alan. Let's make this an agenda item for Monday's meeting.

From: Carlos Evia <cevia@vt.edu>
To: arh@groupwellesley.com
Cc: "dita-lightweight-dita@lists.oasis-open.org" <dita-lightweight-dita@lists.oasis-open.org>
Date: 03/31/2017 08:30 AM
Subject: Re: [dita-lightweight-dita] Does <data> need @href?
Sent by: <dita-lightweight-dita@lists.oasis-open.org>

Dear all,

I agree with Alan. Let's make this an agenda item for Monday's meeting.
I think we aim to please in the LwDITA SC and I am super guilty of this: when one of our members or an actual user contacts me and asks for a feature using the "but DITA 1.3 has it" (the equivalent of "but mom lets me eat candy before dinner"), I tend to feel guilty and try to accommodate. 
As Alan says, that could really make LwDITA (we are mainly talking about XDITA here) bloated and very, seriously distant from the simplicity of its sisters HDITA and MDITA.
That's why I fear the monsters that people could create with the template-based specialization under the LwDITA umbrella: Look at my spaghetti topic with 25 custom elements... which I created from an XDITA base, so it is lightweight and certified!
So, bring your ideas to Monday's call!
New campaign slogan: Keep LwDITA lightweight... oh lord...


Carlos Evia, Ph.D.
Director of Professional and Technical Writing
Associate Professor of Technical Communication
Department of English
Center for Human-Computer Interaction
Virginia Tech
Blacksburg, VA 24061-0112

On Fri, Mar 31, 2017 at 9:17 AM, Alan Houser <arh@groupwellesley.com> wrote:

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