version 1.28, 2001/09/05 12:42:09
|
version 1.29, 2001/09/19 09:04:44
|
Line 114 int MapGI (char *gi, SSchema *schema, Do
|
Line 114 int MapGI (char *gi, SSchema *schema, Do
|
if (!ptr || !strcmp (ptr, "MathML")) |
if (!ptr || !strcmp (ptr, "MathML")) |
MapXMLElementType (MATH_TYPE, gi, &elType, &ptr, &c, &level, doc); |
MapXMLElementType (MATH_TYPE, gi, &elType, &ptr, &c, &level, doc); |
if (elType.ElTypeNum == 0 && (!ptr || !strcmp (ptr, "SVG"))) |
if (elType.ElTypeNum == 0 && (!ptr || !strcmp (ptr, "SVG"))) |
MapXMLElementType (GRAPH_TYPE, gi, &elType, &ptr, &c, &level, doc); |
MapXMLElementType (SVG_TYPE, gi, &elType, &ptr, &c, &level, doc); |
if (elType.ElTypeNum == 0) |
if (elType.ElTypeNum == 0) |
{ |
{ |
entry = -1; |
entry = -1; |
Line 177 void GIType (char *gi, El
|
Line 177 void GIType (char *gi, El
|
/* 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, &level, 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, &level, doc); |
MapXMLElementType (SVG_TYPE, gi, elType, &ptr, &c, &level, doc); |
} |
} |
|
|
/*---------------------------------------------------------------------- |
/*---------------------------------------------------------------------- |