Re: XML File format
- From: Rodrigo Moya <rmoya tsai es>
- To: gnome-db-list gnome org
- Subject: Re: XML File format
- Date: Fri, 21 Jan 2000 13:23:49 +0100
Marzullo Laurent wrote:
> 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).
>
If you don't find it, check at developer.gnome.org, there must be some docs about this.
>
> > 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?
Yes, it's clear now. You could use the TYPE property for each field to put this
"native" type. GDA_TYPE is the GDA type, TYPE is the native type, which will be used
to, for example, generate a CREATE TABLE command from the XML file.
To add the "UserDefineDomain", we could use a special tag (<OBJECT>) to allow inclusion
of "stange" objects (such as this one for example).
Cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]