Re: keys and scoped keys #conref


Matt Lorenzi <mjlorenzi@...>
 

I am going to add to this thread rather than start a new one. I am looking to use a keyspace or map to house reusable content such as product names, document numbers, etc. I learned that before keyscope you would need a unique keyname for each keyword entry. But with the introduction to keyscope you can reuse the keyword, but further differentiate it using keyscope. Do I have this right? 

Given all of that, is this correct markup for use of keyscope? This is a dummy example of my keyspace:

<map id="keydefs">

    <!-- product name -->

    <title>Key Definitions</title>

    <keydef keys="inverter" keyscope="1000">

        <topicmeta>

            <keywords>

                <keyword>Inverter 1000</keyword>

            </keywords>

        </topicmeta>

    </keydef>

    <keydef keys="inverter" keyscope="2000">

        <topicmeta>

            <keywords>

                <keyword>Inverter 2000</keyword>

            </keywords>

        </topicmeta>

    </keydef>    

    <keydef keys="inverter" keyscope="3000">

        <topicmeta>

            <keywords>

                <keyword>Inverter 3000</keyword>

            </keywords>

        </topicmeta>

    </keydef>

 

</map>

Join main@dita-users.groups.io to automatically receive all group messages.