Hello Roy,
we always appreciate new users, so thanks for switching to BaseX :)
However, I personally find it rather difficult to give general guidelines to how to model your data. As relation databases are simple tables, whereas XML is structured and hierarchical, it is simply to difficult to tell. It also depends on what queries you want to execute. I don't think there is _the_ one way to do it right. We might be able to give you more and better advice if you describe specific data set.
Regarding your second question: Yes, thats possible. Take a look at our parsers (https://docs.basex.org/wiki/Parsers), CSV and text parsers are available.
Cheers, Dirk
On 28/11/13 17:04, Ando Roy wrote:
Hi all,
I'm a new user of BaseX and would like to get myself up to speed with development as quickly as possible.Hope to get some pointers from the experts here, as I'm still picking up the concepts required in the use of XML Databases.
I am experimenting with porting over some content from an existing RDBMS project to BaseX and would like to know how to go about doing it. I have already designed a XML schema based on my RDBMS model and would like to know how I can quickly go about populating the database in BaseX. Just a few quick questions here:
- How should I go about creating the tree structure and its nodes (i.e.
elements with attributes)? I'm a little confused (perhaps because I'm trying to approach it from a RDBMS perspective).
- Is there a quick way to populate the database from some existing data
sets (i.e. CSV or text files)?
Thanks!
Regards, Roy
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk