From: Dannes W. <da...@ex...> - 2010-05-04 20:16:12
|
Hi, On Tue, May 4, 2010 at 12:26 PM, Diana ALLAM <dia...@et...> wrote: > I'm actually working on my final student project, and I have to use some > xml files in Java to extract some information from it, to update it or to > transform it. > Could I have please a part of the source code which will be sufficient to > enter an XML files (or load it) and to execute queries in XQuery, XPath > and XSLT? If not, which classes must I use to get my goal? Probably you could have a look at the 'fluent' extension, which is basically a Java5 style interface around 'embedded mode' of exist-db. It should be good enough for your needs. Why not run eXist-db as a server and access it from your java application using via REST interface? Probably easy to do. The samples directory contains a number of examples on how to use the eXist-db APIs. cheers Dannes -- eXist-db Native XML Database - http://exist-db.org Join us on linked-in: http://www.linkedin.com/groups?gid=35624 |