Page 1 of 1

Getting Data from listPers.xml

Posted: Tue May 10, 2022 10:03 am
by kwun
Hi there,
We are looking for a way to "connect" listPers, listPlace, and listOrg (later on listEvent) to our XML files, so that I get a "autocomplete" for my list, similar to this: post29353.html
As this post is quite old, I am not sure whether the solution should still work and how I'd proceed on this.To further complicate things, our editors do not use author mode but regular xml-editor view.

So, for example, I have a listPers.xml inside which I have lots of tei:person with persName etc. pp. and in my text.xml I have the same name occuring and

I want to tag it as a <rs type="person" xml:id="{id}">Jane Austen</rs>

Can I achieve this somehow?
all the best,

Re: Getting Data from listPers.xml

Posted: Wed May 11, 2022 3:13 pm
by alex_jitianu
Hello,

We now have the possibility to configure content completion through a configuration file. You can execute an XSLT that that retrieves the values from an external file.

Best regards,
Alex

Re: Getting Data from listPers.xml

Posted: Wed May 11, 2022 3:33 pm
by kwun
Will look into that tomorrow, Thanks for the hint :-)