Diff for /Amaya/amaya/fetchXMLname.c between versions 1.51 and 1.52

version 1.51, 2001/09/19 09:04:44 version 1.52, 2001/10/04 14:49:49
Line 235  void MapXMLElementType (int XMLtype, Line 235  void MapXMLElementType (int XMLtype,
   
 /*----------------------------------------------------------------------  /*----------------------------------------------------------------------
    GetXMLElementName     GetXMLElementName
    Generic function which searchs in the mapping table the XML name for     Generic function which searchs in the mapping tables the XML name for
    a given Thot type.     a given Thot type.
   ----------------------------------------------------------------------*/    ----------------------------------------------------------------------*/
 char*           GetXMLElementName (ElementType elType, Document doc)  char*           GetXMLElementName (ElementType elType, Document doc)
Line 283  char*           GetXMLElementName (Eleme Line 283  char*           GetXMLElementName (Eleme
   
 /*----------------------------------------------------------------------  /*----------------------------------------------------------------------
    IsXMLElementInline     IsXMLElementInline
    Generic function which searchs in the mapping table if a given     Generic function which searchs in the mapping tables if a given
    Thot type is an inline character or not     Thot type is an inline character or not
   ----------------------------------------------------------------------*/    ----------------------------------------------------------------------*/
 ThotBool         IsXMLElementInline (ElementType elType)  ThotBool         IsXMLElementInline (ElementType elType, Document doc)
 {  {
   int            i;    int            i;
   ThotBool       ret = FALSE;    ThotBool       ret = FALSE;
Line 302  ThotBool         IsXMLElementInline (Ele Line 302  ThotBool         IsXMLElementInline (Ele
         ptr = MathMLElemMappingTable;          ptr = MathMLElemMappingTable;
       else if (strcmp ("SVG", name) == 0)        else if (strcmp ("SVG", name) == 0)
         ptr = SVGElemMappingTable;          ptr = SVGElemMappingTable;
       else        else if (strcmp ("HTML", name) == 0)
         ptr = XHTMLElemMappingTable;          ptr = XHTMLElemMappingTable;
         else
           ptr = NULL;
               
       if (ptr)        if (ptr)
         {          {
Line 385  int       MapXMLAttribute (int XMLtype, Line 387  int       MapXMLAttribute (int XMLtype,
   
 /*----------------------------------------------------------------------  /*----------------------------------------------------------------------
    GetXMLAttributeName     GetXMLAttributeName
    Generic function which searchs in the mapping table the XML name for     Generic function which searchs in the mapping tables the XML name for
    a given Thot type.     a given Thot type.
   ----------------------------------------------------------------------*/    ----------------------------------------------------------------------*/
 char*           GetXMLAttributeName (AttributeType attrType,  char*           GetXMLAttributeName (AttributeType attrType,

Removed from v.1.51  
changed lines
  Added in v.1.52


Webmaster