Dear Joshua,
I believe there are many ways to build a system you are envisioning; but I am not sure how to answer your question(s). If you are looking for someone who could build an individual software solution for you, based on BaseX, we invite you to write to info@basexgmbh.de and ask for our commercial services.
Hope this helps, Christian
On Tue, May 14, 2019 at 5:22 AM Joshua Kordani joshua.kordani@speedcastwireless.com wrote:
Greetings all.
I am attempting to setup an environment for processing junit xml output files, to be handed off to the end user.
In general, batches of junit files will be imported over time, and as they get imported I wish to add timestamp tags to certain elements. Right now the only way I see to programmatically do this is take details from the filename, derive a datetime, and apply it to the elements in question that are associated with a given file. I am trying to make this process easy on the user, such that they specify a new file or set of files to import, then all pertinent records in each file get timestamped. I don't quite see how to access enough "external environment" to allow for a script to grab a user specified filename and do this work and I could use some pointers. I undertand that datetimes are not indexable fields, or else i'm not sure exactly what the documentation has to say about indexes and datetimes, but if there is anything I can do to allow a user to filter by them that would be great.
The user is fine with what ultimately becomes a command line interface to import these files and generates reports. I can see how to build xquery commands to isolate all of the elements in question and pass statically baked data to variables such as date time to add to existing elements in the database, but I still am not sure how to use this to build a system to allow a user to add a file or set of files at a time and have them processed in this way.
Thank you! Joshua Kordani