version 1.22, 2000/09/22 07:13:48
|
version 1.23, 2000/11/22 13:57:59
|
Line 71 Document doc;
|
Line 71 Document doc;
|
CHAR_T c; |
CHAR_T c; |
int i; |
int i; |
int entry; |
int entry; |
ThotBool isHTML; |
ThotBool isHTML; |
|
ThotBool level; |
|
|
/* TODO: use NameSpaces to search in the right table */ |
/* TODO: use NameSpaces to search in the right table */ |
entry = -1; |
entry = -1; |
Line 124 Document doc;
|
Line 125 Document doc;
|
elType.ElSSchema = *schema; |
elType.ElSSchema = *schema; |
|
|
if (!ptr || !ustrcmp (ptr, TEXT("MathML"))) |
if (!ptr || !ustrcmp (ptr, TEXT("MathML"))) |
MapXMLElementType (MATH_TYPE, gi, &elType, &ptr, &c, doc); |
MapXMLElementType (MATH_TYPE, gi, &elType, &ptr, &c, &level, doc); |
if (elType.ElTypeNum == 0 && (!ptr || !ustrcmp (ptr, TEXT("GraphML")))) |
if (elType.ElTypeNum == 0 && (!ptr || !ustrcmp (ptr, TEXT("GraphML")))) |
MapXMLElementType (GRAPH_TYPE, gi, &elType, &ptr, &c, doc); |
MapXMLElementType (GRAPH_TYPE, gi, &elType, &ptr, &c, &level, doc); |
if (elType.ElTypeNum == 0) |
if (elType.ElTypeNum == 0) |
{ |
{ |
entry = -1; |
entry = -1; |
Line 159 Document doc;
|
Line 160 Document doc;
|
CHAR_T c; |
CHAR_T c; |
CHAR_T* ptr; |
CHAR_T* ptr; |
int i; |
int i; |
|
ThotBool level; |
|
|
/* TODO: use NameSpaces to search in the right table */ |
/* TODO: use NameSpaces to search in the right table */ |
elType->ElSSchema = NULL; |
elType->ElSSchema = NULL; |
Line 193 Document doc;
|
Line 195 Document doc;
|
while (pHTMLGIMapping[i].XMLname[0] == c); |
while (pHTMLGIMapping[i].XMLname[0] == c); |
|
|
/* if not found, look at the XML mapping tables */ |
/* if not found, look at the XML mapping tables */ |
MapXMLElementType (MATH_TYPE, gi, elType, &ptr, &c, doc); |
MapXMLElementType (MATH_TYPE, gi, elType, &ptr, &c, &level, doc); |
if (elType->ElTypeNum == 0) |
if (elType->ElTypeNum == 0) |
MapXMLElementType (GRAPH_TYPE, gi, elType, &ptr, &c, doc); |
MapXMLElementType (GRAPH_TYPE, gi, elType, &ptr, &c, &level, doc); |
} |
} |
|
|
/*---------------------------------------------------------------------- |
/*---------------------------------------------------------------------- |