labels for attribute values in Content Completion Assistant
Posted: Fri Dec 14, 2018 1:28 am
Dear board,
I’m working on integrating an external bibliography into our TEI editing workflow by adapting the content completion assistant. I have successfully configured a XSLT stylesheet to gather the allowed attribute values (i.e. alphanumeric identifiers of the bibliograph’s entries), however the identifiers themselves do not contain any semantics so the editors can’t easily find the relevant entry easily. I added annotations rendering a preview of the bibliographic entry – which is very handy, but doesn’t solve the initial problem since waiting for the annotation to pop up is not feasible either. So my questions are:
1) Is there a way of providing a „label“ for the items in the content completion assistent’s list of attribute values? Just like there are titles of code templates? I hope that is not a stupid question since it seems such an obvious pattern that I fear that I might be missing something crucial in the first place.
2) It appears to me that the order of the attributes in the content completion assistant is independent from the document order returned by the XSLT – is this true and can it be changed by setting some preference? It would be already of great help if I could fix the order of the returned bibliographic entries to something an encoder would expect (e.g. title or author’s names)
Thanks in advance for any hints!
Best
Daniel
I’m working on integrating an external bibliography into our TEI editing workflow by adapting the content completion assistant. I have successfully configured a XSLT stylesheet to gather the allowed attribute values (i.e. alphanumeric identifiers of the bibliograph’s entries), however the identifiers themselves do not contain any semantics so the editors can’t easily find the relevant entry easily. I added annotations rendering a preview of the bibliographic entry – which is very handy, but doesn’t solve the initial problem since waiting for the annotation to pop up is not feasible either. So my questions are:
1) Is there a way of providing a „label“ for the items in the content completion assistent’s list of attribute values? Just like there are titles of code templates? I hope that is not a stupid question since it seems such an obvious pattern that I fear that I might be missing something crucial in the first place.
2) It appears to me that the order of the attributes in the content completion assistant is independent from the document order returned by the XSLT – is this true and can it be changed by setting some preference? It would be already of great help if I could fix the order of the returned bibliographic entries to something an encoder would expect (e.g. title or author’s names)
Thanks in advance for any hints!
Best
Daniel