[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [dita] Branch filtering elements: for discussion 4/15
I think ditvalref is good for referencing ditaval files and introducing those into the subtree scope. As combined with keyscope and other subtree context mechanisms we can perform a number of use cases clearly. I think the tree duplication semantics of ditavalref are icing and I do not see the purpose for any of the dvr attributes yet (like to take them all out and add them back only if really necessary). So if we eliminated that complexity, lets use our saved energy to tackle the specification of copies. Explicit copy-to on its own cannot help and is limited anyway, so I propose implicit copy semantics (which seem ambiguous or not specified in the spec). Implicit copy semantics would allow processors to create copies automatically as they encounter them and the identity of these copies is unspecified. If I topicref to the same topic twice within a publication then addressing those copies should be done with the best practice of binding a key to topicrefs that will be linked to. That combined with keyscope allows people to link to specific topics. For example in mymap.ditamap we have: <map> <topicref href="" keydef=”fooTopic” /> <topicref href="" keydef=”gooTopic” /> </map> If we want to duplicate the tree we then have this (as opposed to two ditavalrefs) do the following which clearly establishes two contexts using existing DITA mechanisms: <mapref href="" keyscope=”mac”> <keydef keys="Product_Name”> <topicmeta> <keywords> <keyword>OS X</keyword> </keywords> </topicmeta> </keydef> <ditavalref href=""> <mapref href="" keyscope=”win”> <topicmeta> <keywords> <keyword>Windows</keyword> </keywords> </topicmeta> </keydef> <ditavalref href=""> foo.xml within the mac duplicate can be linked to using keyref=”mac.fooTopic”. From: dita@lists.oasis-open.org [mailto:dita@lists.oasis-open.org] On Behalf Of Robert D Anderson Hi, |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]