[oXygen-user] Automatically add @type when a topicref is added to a DITA map
Oxygen XML Editor Support
support at oxygenxml.com
Thu Aug 16 07:02:59 CDT 2012
Hello Yves,
I consider that it's more flexible not to add the @type value when a
topic ref is inserted.
In this way, if the type of the referenced topic changes (it was a task
and then you change it to be a concept) then you do not need to remember
to also update the <topicref>.
What is your usecase? Do you have a CMS which requires the @type to be
added?
The DITA 1.2 specs is very vague:
> When a referencing element is first added to or updated in a document, DITA aware editors may, but are not required to, set the type attribute value based on the actual type of a referenced DITA topic.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 8/16/2012 1:07 PM, Yves Barbion wrote:
> Hi group
>
> When I add a topicref to a DITA map, I see that the @type attribute is
> left unspecified. It would be nice if the @type attribute would then
> automatically be filled in, depending on the information type of the
> topic. For example, when I add a topicref to a task topic, the @type
> attribute would automatically be type="task".
>
> Is this possible or is this a new feature request?
>
> Thanks
>
> --
> Yves Barbion
> www.scripto.nu <http://www.scripto.nu>
>
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
More information about the oXygen-user
mailing list