How can access to the database with ODBC

Antonio Carlos Rodriguez <[email protected]> Mon, 18 Nov 2002 02:40:19 +0100
Newsgroups gmane.comp.mozilla.devel.xpcom
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
My name is Antonio Carlos Rodríguez Vergara, from the Seville
University at Spain, and I'm trying to make a applicattion over Mozilla
which must run in windows. I'm interested in database access, because
when you put some widgets, such as trees or listboxes, its data is often
coded in a common database structure (Oracle, Access, Sql
server,MySql... etc). I have managed RDF and templates, and it looks
good for it, but I have two problems:

  * How could I use the database (from ODBC or a concrete format) as a RDF
  datasource to use it with templates? OR How could I use connected ODBC
  database directly in XUL, forgetting RDF?

  * If at last I can use a database as a RDF Datasource, where could I
  find (real) useful information to manage complex RDF dataformats in XUL?

  I am very interested in the second point. Please, help me.I need a
  component XPCOM to access to thedatabases which work in Windows. Because
  my proyect must run in Windows with a only machine(local machine). In
  this machine must have Mozilla and the database. This is a very
  important question, because I need information about the exposed later
  to end my studies. Thank you.