Diff for /Amaya/amaya/fetchXMLname.c between versions 1.78 and 1.79

version 1.78, 2005/07/20 17:56:26 version 1.79, 2005/08/17 12:54:00
Line 471  int MapXMLAttribute (int XMLtype, char * Line 471  int MapXMLAttribute (int XMLtype, char *
     ptr = MathMLAttributeMappingTable;      ptr = MathMLAttributeMappingTable;
   else if (XMLtype == SVG_TYPE)    else if (XMLtype == SVG_TYPE)
     ptr = SVGAttributeMappingTable;      ptr = SVGAttributeMappingTable;
   #ifdef TEMPLATES
     else if (XMLtype == Template_TYPE)
       ptr = TemplateAttributeMappingTable;
   #endif /* TEMPLATES */
   else if (XMLtype == XLINK_TYPE)    else if (XMLtype == XLINK_TYPE)
     ptr = XLinkAttributeMappingTable;      ptr = XLinkAttributeMappingTable;
   
   else    else
     ptr = NULL;      ptr = NULL;
   if (ptr == NULL)    if (ptr == NULL)
Line 554  char *GetXMLAttributeName (AttributeType Line 559  char *GetXMLAttributeName (AttributeType
       /* Select the table which matches with the element schema */        /* Select the table which matches with the element schema */
       name = TtaGetSSchemaName (attrType.AttrSSchema);        name = TtaGetSSchemaName (attrType.AttrSSchema);
       if (strcmp ("MathML", name) == 0)        if (strcmp ("MathML", name) == 0)
         ptr = MathMLAttributeMappingTable;          ptr = MathMLAttributeMappingTable;
   #ifdef _SVG
       else if (strcmp ("SVG", name) == 0)        else if (strcmp ("SVG", name) == 0)
         ptr = SVGAttributeMappingTable;          ptr = SVGAttributeMappingTable;
   #endif /* _SVG */
       else if (strcmp ("XLink", name) == 0)        else if (strcmp ("XLink", name) == 0)
         ptr = XLinkAttributeMappingTable;          ptr = XLinkAttributeMappingTable;
   #ifdef TEMPLATES
         else if (strcmp ("Template",name) == 0)
           ptr = TemplateAttributeMappingTable;
   #endif /* TEMPLATES */
       else        else
         ptr = XHTMLAttributeMappingTable;          ptr = XHTMLAttributeMappingTable;
               

Removed from v.1.78  
changed lines
  Added in v.1.79


Webmaster