Copy link to clipboard
Copied
Hello,
I am finally getting my feet wet using DITA keys. I understand the basic principle, bu cannot get it to work they way I understand that it should.
I have defined a couple of keywords in an keyspace (ditamap).
When I go inside my DITA topic, I cannot see an option to insert "keyref", only "conref". Confref works in calling up my keyword, but it does not use the keyref and product attribute, rather it creates a random ID and uses they keyword element. I guess this works fine, but I cannot tell from my code view what I am looking at, all I see is an ID.
What I would like to see is this: <ph keyref="product" product="name"/> ,
but what I am getting is this: <keyword conref="Keyspace.ditamap#id197JG0Q10UI"></keyword>
I hope this makes sense. I am getting close, but wondering if I am doing something wrong. Thanks!
Copy link to clipboard
Copied
There could be two ways to achieve this. I have tried both ways.
First is to press Ctrl + 1 post buying word and add keyword and add a keyref to it.
Second approach is to insert a keyword and then associate the respective keydef
thanks,
Copy link to clipboard
Copied
Hi Amit,
Thanks for the response. could you show the above in XML view please? Thanks!