Deploying XQuery in Java

I need to get some data from a MusicXML (xml) file in Java. I managed to read the xml files in java, but through a web service (where should I be connected to the Internet when I run my code). I came across XQuery, where you can easily extract information from an XML file. But I need to embed XQuery in java (i.e. use xquery in java code), accurate without using a web service. Is there any possible way I can embed XQuery (reading information from an XML file) in java code?

Really appreciate any ideas, ideas and ideas. Thank you very much in advance

+4
source share
3 answers

Use XQJ (XQuery for Java API). There are various tutorials for using XQJ on the Internet.

+3
source

How about the SAXON XSLT processor and XQuery. Saxon

+4
source

Source: https://habr.com/ru/post/1314135/


All Articles