xquery « XML file « Java I/O Q&A





1. Getting filename of an XML file with xquery    stackoverflow.com

I store my entities in the exist xml database and I use a file name (resource id) as an ID of an entity. Example: String xquery = "for $movie in collection('/db/movie')//movie " ...

2. XQuery using an XML file    forums.oracle.com