"Antonio Carlos Rodriguez" <[EMAIL PROTECTED]> wrote in message
arb8l4$[EMAIL PROTECTED]">news:arb8l4$[EMAIL PROTECTED]...
> My name is Antonio Carlos Rodr�guez Vergara, from the Seville
> University at Spain,

Do you have a short name like all the brazilian football players ;-) ?

> 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?

You will need to write an XPCOM component which will serve as a "bridge"
between mozilla RDF API and ODBC API. The complexity of this component will
probably depend on how flexible is your DB (i.e. can you assume fix users,
fixed tables, ...).

> OR How could I use connected ODBC
>   database directly in XUL, forgetting RDF?
>

This will require writting an XPCOM commponent which expose the ODBC
interface as an XPCOM interface, then you will be able to manipulate the GUI
via the DOM interfaces.

>   * 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?
>

What do you consider as complex? IMHO there are enough examples in the
mozilla source code.

>   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.
>

I know that there were several people which "promised" to write an XPCOM
ODBC component, but to the best of my knowledge none of them had delivered
anything by now :(

Good luck,
  Mark.



Reply via email to