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


Help: OASIS Mailing Lists Help | MarkMail Help

dita-comment message

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

Subject: Re: [dita-comment] Question about <dvrKeyscopePrefix>

Hi Radu,

The keyscope prefix "adminscope-" applies to every scope in that branch, so in your sample you will end up with both adminscope-branchKS and adminscope-childKS.

For the other question, yes, if the root topicref in your sample did not already have a key scope, it would be treated as if it had a scope named "adminscope-". The child scope would still be renamed to "adminscope-childKS".

Hope that helps -

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

Inactive hide details for Radu Coravu ---02/19/2016 08:41:19 AM---Hi, I have a question about the specs.Radu Coravu ---02/19/2016 08:41:19 AM---Hi, I have a question about the specs.

From: Radu Coravu <radu_coravu@sync.ro>
To: dita-comment@lists.oasis-open.org
Cc: Robert D Anderson/Rochester/IBM@IBMUS
Date: 02/19/2016 08:41 AM
Subject: [dita-comment] Question about <dvrKeyscopePrefix>


I have a question about the specs.
Let's say there is a part of a DITA Map like this:

> <topicref href="" keys="features" keyscope="branchKS">
>   <ditavalref href="">>     <ditavalmeta>
>       <dvrResourcePrefix>admin-</dvrResourcePrefix>
>       <dvrKeyscopePrefix>adminscope-</dvrKeyscopePrefix>
>     </ditavalmeta>
>   </ditavalref>
>   <topicref href="" keyscope="childKS"/>
> </topicref>

So there is a @keyscope named "branchKS" defined on the top topicref and
a @keyscope defined on its child called "childKS".

There is a "dvrKeyscopePrefix" which will be used as a prefix for key

The specs says something like this:

> <dvrKeyscopePrefix>
>     Enables a map author to specify a prefix that is added to the start of key scope names for each key scope in the branch. If no key scope is specified for the branch, this can be used to establish a new key scope, optionally combined with a value specified in <dvrKeyscopeSuffix>.

Will it be used as a prefix for all key scopes, both for "branchKS" and
"childKS", or only for "branchKS"?

Also, if the keyscope "branchKS" would be missing, would the branch
automatically behave as if a keyscope called "adminscope-" would be set
on it?


Radu Coravu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger

This publicly archived list offers a means to provide input to the
OASIS Darwin Information Typing Architecture (DITA) TC.

In order to verify user consent to the Feedback License terms and
to minimize spam in the list archive, subscription is required
before posting.

Subscribe: dita-comment-subscribe@lists.oasis-open.org
Unsubscribe: dita-comment-unsubscribe@lists.oasis-open.org
List help: dita-comment-help@lists.oasis-open.org
List archive:
Feedback License:
List Guidelines:

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