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] Question from keys review: addressing non-topicref elements in a map


> As for what happens when you keyref to a topicref, the answer is,
> whatever happens when you use a URI-based reference to a topicref in
> that context.


I think I phrased my question poorly.

If I've got this:
keyref="sampleKey/elementID"

What does that resolve to when:


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

Chris Nitchie <chris.nitchie@oberontech.com> wrote on 05/07/2015 12:10:10:

> From: Chris Nitchie <chris.nitchie@oberontech.com>

> To: Robert D Anderson/Rochester/IBM@IBMUS
> Cc: DITA TC <dita@lists.oasis-open.org>
> Date: 05/07/2015 12:10
> Subject: Re: [dita] Question from keys review: addressing non-
> topicref elements in a map

>
> <quote>
> Currently you can reference that with:
> keyref="chapter1"
> href="">>
> If we remove the "non-topicref" elements, it would then state that
> 'for references to elements within maps, the value of @keyref is a
> key name plus slash plus element ID', which I think is incorrect
> here -- because you just use the key name to reference this topicref.
> </quote>
>
> No, you don't. You use the key name to reference the content
> referenced by and/or text provided by that topicref, not the
> topicref itself. To reference the topicref, you must specify its ID,
> either in a keyref or URI-based reference.
>
> As for what happens when you keyref to a topicref, the answer is,
> whatever happens when you use a URI-based reference to a topicref in
> that context.
>
> Best,
>
> Chris
>
> > On May 7, 2015, at 12:56 PM, Robert D Anderson <robander@us.ibm.com> wrote:
> >
> > Currently you can reference that with:
> > keyref="chapter1"
> > href="">> >
> > If we remove the "non-topicref" elements, it would then state that
> 'for references to elements within maps, the value of @keyref is a
> key name plus slash plus element ID', which I think is incorrect
> here -- because you just use the key name to reference this topicref.
> [attachment "graycol.gif" deleted by Robert D Anderson/Rochester/IBM]



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