version 1.29, 2001/09/19 09:04:44
|
version 1.30, 2001/09/24 09:37:36
|
Line 84 int MapGI (char *gi, SSchema *schema, Do
|
Line 84 int MapGI (char *gi, SSchema *schema, Do
|
*/ |
*/ |
|
|
/* TODO: define a function which works on unicode */ |
/* TODO: define a function which works on unicode */ |
c = utolower (gi[0]); |
c = tolower (gi[0]); |
/* look for the first concerned entry in the table */ |
/* look for the first concerned entry in the table */ |
while (pHTMLGIMapping[i].XMLname[0] < c |
while (pHTMLGIMapping[i].XMLname[0] < c |
&& pHTMLGIMapping[i].XMLname[0] != EOS) |
&& pHTMLGIMapping[i].XMLname[0] != EOS) |
Line 135 int MapGI (char *gi, SSchema *schema, Do
|
Line 135 int MapGI (char *gi, SSchema *schema, Do
|
GIType search in mapping tables the Element type associated with |
GIType search in mapping tables the Element type associated with |
a given GI Name. If not found returns zero. |
a given GI Name. If not found returns zero. |
----------------------------------------------------------------------*/ |
----------------------------------------------------------------------*/ |
void GIType (char *gi, ElementType *elType, Document doc) |
void GIType (char *gi, ElementType *elType, Document doc) |
{ |
{ |
char c; |
char c; |
char *ptr; |
char *ptr; |
Line 153 void GIType (char *gi, El
|
Line 153 void GIType (char *gi, El
|
*/ |
*/ |
|
|
/* TODO: define a function which works on unicode */ |
/* TODO: define a function which works on unicode */ |
c = utolower (gi[0]); |
c = tolower (gi[0]); |
|
|
i = 0; |
i = 0; |
/* look for the first concerned entry in the table */ |
/* look for the first concerned entry in the table */ |