Re: XML File format
- From: Marzullo Laurent <Laurent Marzullo sema be>
- To: gnome-db-list gnome org
- Subject: Re: XML File format
- Date: Fri, 21 Jan 2000 12:37:16 +0100
Rodrigo Moya Piernavieja wrote:
>
> Marzullo Laurent wrote:
>
>
> You mean the libxml being used by gnome-db? or the gnome-db XML functions
> themselves? For the first one, there should be some docs in /usr/doc/libxml-x.x.xx
> in your system. For the gda xnl functions, sorry, but you'll have to look at the
> sources (all functions are commented).
I was thinking of the first one ... I will see if i found the doc
on my systeme (Debian).
>
> >
> > I've got another think to ask.
> > dB_designer will let the user to define its own domain for
> > the attribute of the db table (all of them will be child of
> > one GDA_Type), but a domain could be a set of GDA_Type too.
> > (i.e. structure, object, ...). I know this is rdbms dependent,
> > but i would like to give the Postgres user to define object
> > type for their domain attribute.
> >
> > So you see any problem with the current structure of the file ?
> >
> > (For now, I would like to put the domain attribute name in a
> > separate file than gnome-db XML file, and use GDA_Type as
> > a reference name for an entry in the domain file ... to not
> > disturb your app.
> > Do I make myself clear ??? )
> >
>
> I don't understand very well since I don't know what you mean by domain.
Sorry,
A Domain is the type of the table field (GDA_TypeBigInt is a domain).
So, I've think of domain like this :
class UserDefineDomain
{
GDA_TypeBigInt toto;
GDA_TypeFloat titi;
};
And then you can create a table
table table_name;
field of table_name
field_1 of type UserDefineDomain
field_2 of type GDA_BigInt
field_3 of type UserDefineDomain2
....
Is it more clear ?
>
> --
> To unsubscribe: mail gnome-db-list-request@gnome.org with "unsubscribe"
> as the Subject.
--
+----------------------------------+
| Marzullo Laurent |
| Analyste-programmeur |
| SEMA-GROUP Belgium S.A. |
| Tél: (32) 2 333 52 43 |
| e-mail: Laurent.Marzullo@sema.be |
+----------------------------------+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]