[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [dita-comment] Gathering restricted values using a subject scheme map
Hi Kris, I quote from an older example you gave me a couple of years ago:
Here's another point to consider. Processors handling controlled values defined in subjectScheme maps will need to take into consideration the following sort of mark-up:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE subjectScheme PUBLIC "-//OASIS//DTD DITA Subject Scheme Map//EN" "subjectScheme.dtd">
<subjectScheme>
<subjectdef keys="us-states">
<subjectdef keys="alabama"/>
<subjectdef keys="alaska"/>
<subjectdef keys="arizona"/>
<subjectdef keys="arkansas"/>
<subjectdef keys="massachusetts"/>
<subjectdef keys="north-carolina"/>
</subjectdef>
<subjectdef keys="13-colonies">
<subjectdef keyref="massachusetts"/>
<subjectdef keyref="north-carolina"/>
</subjectdef>
</subjectScheme>
Note that the massachusetts and north-carolina subjects are in two different subjects:
us-states
13-colonies
They are referenced by the @keyref attribute the second time that they appear in the map.
So in that case it seemed that you wanted as a sub-value of "13-colonies" to have "massachusetts" which was referenced via keyref.
Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 7/18/2016 4:32 PM, Kristen James Eberlein wrote:
Radu, I think the correct answer is that the permitted values for @outputclass are "none" and "left." I'll add this to the DITA TC agenda for tomorrow. Best, Kris Kristen James Eberlein Chair, OASIS DITA Technical Committee Principal consultant, Eberlein Consulting www.eberleinconsulting.com +1 919 682-2290; kriseberlein (skype) On 7/18/2016 6:24 AM, Radu Coravu wrote:Hi everybody, Let's say I have a subject scheme map like this:<!DOCTYPE subjectScheme PUBLIC "-//OASIS//DTD DITA Subject Scheme Map//EN" "subjectScheme.dtd"> <subjectScheme> <subjectdef keys="floatLeft"> <subjectdef keys="left"/> </subjectdef> <subjectdef keys="outputclassFig"> <subjectdef keys="none"/> <subjectdef keyref="floatLeft"/> </subjectdef> <enumerationdef> <attributedef name="outputclass"/> <subjectdef keyref="outputclassFig"/> </enumerationdef> </subjectScheme>which imposes for the attribute "outputclass" a set of fixed possible values. What values does it impose for @outputclass? Does it impose that its values should be either "none" or "left"? Or does it impose that its values should be either "none", "floatLeft", or "left"? Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]