XQuery-Processor-Web is a web application processing Xquery, developed with Eclipse, Spring Boot, Maven.
Use Maven to compile the project by executing the following command:
mvn compile
Run the program as a Spring Boot App.
Open http://localhost:8080/, upload XML files, and enter your query.
For example, enter the following XQuery, and click 'Submit',
<acts> { for $a in doc("j_caesar.xml")//ACT
where empty ( for $sp in $a/SCENE/SPEECH/SPEAKER
where $sp/text() = "CASCA"
return <speaker> {$sp/text()}</speaker> )
return <act>{$a/TITLE/text()}</act>
}</acts>
then the result will be displayed on the website.
<acts>
<act>ACT IV</act>
<act>ACT V</act>
</acts>