Hi Werner,
I now want to query the database with BaseXClient.py using a list from stdout from another script. How do I do that in python?
Have you already tried the (few) examples we are providing (e.g. [1, 2])?
What I want to accomplish is use the variables in the list from the other script to search through the XML files in BaseX and if the variables are found in an XML file, text must be returned from within "<name>example</name>" in the same file.
I think we need more information on what you mean with "search through the XML files". Could you provide us the Python and XPath/XQuery snippets you have written so far?
Best, Christian
[1] https://github.com/BaseXdb/basex/blob/master/basex-api/src/main/python3/Quer... [2] https://github.com/BaseXdb/basex/blob/master/basex-api/src/main/python3/Quer...
basex-talk@mailman.uni-konstanz.de