Hello BaseX list,
After looking at the BaseX website and XML databases in general I would like to know if BaseX would be suitable for the following application.
I would like to store a relatively large amount of XML files (couple of hundreds) that contain metadata information that is compliant with various standard metadata schemas (Dublincore, ISO, INSPIRE, etc...).
Once stored in one (or several - 1 per schema type?) BaseX database(s) I would like to be able to: - search these XML files accross schemas and namespaces to perform general keyword searches - search for specific information within a known schema and namespace - return query results in an HTML format to display directly on a web page
I would like to know if BaseX would be suitable for such application and how flexible BaseX is in storing XML files compliant with different schemas and containing several namespaces.
If suitable, what would be the best practice for storing the different XML files? Should all the XML files that follow a same schema be stored in the same database (for faster indexing, easier searching?) or I can I use a single database to store all XML files regardless of the fact that they follow different XSD schemas ?
Thanks a lot for any input
Tom
Dear Tom,
BaseX can be used to store any type of XML documents, no matter if schema information is available or not. As a consequence, you can distribute your files in several databases, or store them all in a single db. It mostly depends on the size of your documents. While it's theoretically possible to stored gigabytes of documents in a single database, you will often get better performance, and indexing will be faster, if you store your files in more than one database (this may be particularly interesting if you perform regular updates).
In our commercial projects, we make heavy use of the RESTXQ specification, which is currently being finalized [1,2]. This API provides a convenient way to write Web Applications completely in the X-Stack (incl. databases acces, business logic and presentation as html). XForms (with XSLTForms [3] and betterFORM [4] as open source implementations) can be used to create input forms that match XML Schema files.
Hope this helps, Christian
[1] http://exquery.github.com/exquery/exquery-restxq-specification/restxq-1.0-sp... [2] http://docs.basex.org/wiki/RESTXQ [3] http://www.agencexml.com/xsltforms [4] http://www.betterform.de/ ___________________________
On Fri, Sep 14, 2012 at 3:01 PM, Tom Bailly-Salins tom.bailly-salins@ext.jrc.ec.europa.eu wrote:
Hello BaseX list,
After looking at the BaseX website and XML databases in general I would like to know if BaseX would be suitable for the following application.
I would like to store a relatively large amount of XML files (couple of hundreds) that contain metadata information that is compliant with various standard metadata schemas (Dublincore, ISO, INSPIRE, etc...).
Once stored in one (or several - 1 per schema type?) BaseX database(s) I would like to be able to:
- search these XML files accross schemas and namespaces to perform general
keyword searches
- search for specific information within a known schema and namespace
- return query results in an HTML format to display directly on a web page
I would like to know if BaseX would be suitable for such application and how flexible BaseX is in storing XML files compliant with different schemas and containing several namespaces.
If suitable, what would be the best practice for storing the different XML files? Should all the XML files that follow a same schema be stored in the same database (for faster indexing, easier searching?) or I can I use a single database to store all XML files regardless of the fact that they follow different XSD schemas ?
Thanks a lot for any input
Tom _______________________________________________ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
basex-talk@mailman.uni-konstanz.de