Getting Data from listPers.xml

Having trouble installing Oxygen? Got a bug to report? Post it all here.
kwun
Posts: 12
Joined: Fri Mar 04, 2022 12:27 pm

Getting Data from listPers.xml

Post 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,
alex_jitianu
Posts: 1009
Joined: Wed Nov 16, 2005 11:11 am

Re: Getting Data from listPers.xml

Post 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
kwun
Posts: 12
Joined: Fri Mar 04, 2022 12:27 pm

Re: Getting Data from listPers.xml

Post by kwun »

Will look into that tomorrow, Thanks for the hint :-)
Post Reply