In my opinion, the @href is quite useful as the semantic that states what the data’s @name and @value applies to. It can apply to
an external or internal resource. For example
To relate a topic to an external resource for pulling in the latest pricing for a widget
@name = “msrp”
@value = “widget_canada”
To relate a piece of data to an element within the topic itself
@name = “correction”
@value = “Changed the trade name used for the Widget sold in Canada”
@href = "">
Arguably, the @href value can be inserted using a nested data element. Still I believe that the semantic relevance of @href in data
is very useful.
[mailto:email@example.com] On Behalf Of Alan Houser
Sent: March 31, 2017 5:21 AM
Subject: Re: [dita-lightweight-dita] Does <data> need @href?
Gently pushing back on this ... if "is it in DITA 1.3?" were the test for inclusion in Lw-DITA, well ...
What can an @href attribute accomplish that @name/@value cannot? I acknowledge that @href has processing implications in full DITA. If that's the driving requirement here, I can accept that. But (generally), if one can meet a requirement in Lw-DITA with
more general/extensible markup (in this case, @name/@value), I would favor punting the more specific markup.
On 3/30/17 11:14 AM, Mark Giffin wrote:
Thanks Ian. <data> has @href in DITA 1.3 also, so I'll leave it as it is in lwdita.
On 3/30/2017 2:10 AM, ian bd wrote:
Yes, if <data> is used for recording metadata about the topic. I have a need -- and I am sure I am not the only one doing this sort of thing -- to record references used for a topic, including websites. That recording is carried out using
<data> in the <prolog> and @href is the natural (hesitate to say semantic) attribute to hold the information for internal use.
On Thu, Mar 30, 2017 at 6:07 AM, Mark Giffin <firstname.lastname@example.org> wrote:
Another question based on the sharp eyeballs of Scott Prentice: <data> has an @href attribute, this seems like a mistake. Do we need it?
Mark Giffin Consulting, Inc.
To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at:
Group Wellesley, Inc.
Consultant and Trainer, Technical Publishing
arh on Twitter