Diff for /Amaya/amaya/fetchXMLname.c between versions 1.60 and 1.61

version 1.60, 2002/03/22 08:11:47 version 1.61, 2002/09/17 13:34:06
Line 97  SSchema GetXLinkSSchema (Document doc) Line 97  SSchema GetXLinkSSchema (Document doc)
 }  }
   
 /*----------------------------------------------------------------------  /*----------------------------------------------------------------------
    GetGenericXMLSSchema returns the XML Thot schema for the document doc.  
   ----------------------------------------------------------------------*/  
 SSchema GetGenericXMLSSchema (Document doc)  
   
 {  
   SSchema       XMLSSchema;  
   
   XMLSSchema = TtaGetSSchema ("XML", doc);  
   if (XMLSSchema == NULL)  
       XMLSSchema = TtaNewNature(doc, TtaGetDocumentSSchema(doc),  
                                 "XML", "XMLP");  
   return (XMLSSchema);  
 }  
   
 /*----------------------------------------------------------------------  
    GetTextSSchema returns the TextFile Thot schema for document doc.     GetTextSSchema returns the TextFile Thot schema for document doc.
    (this is not XML, but its useful to have this function here).     (this is not XML, but its useful to have this function here).
   ----------------------------------------------------------------------*/    ----------------------------------------------------------------------*/
Line 127  SSchema         GetTextSSchema (Document Line 112  SSchema         GetTextSSchema (Document
   return (XLinkSSchema);    return (XLinkSSchema);
 }  }
   
   /*----------------------------------------------------------------------
      GetGenericXMLSSchema
      Returns the XML Thot schema of name schemaName for the document doc.
     ----------------------------------------------------------------------*/
   SSchema GetGenericXMLSSchema (char *schemaName, Document doc)
   
   {
     SSchema       XMLSSchema;
   
     XMLSSchema = TtaGetSSchema (schemaName, doc);
     if (XMLSSchema == NULL)
         XMLSSchema = TtaNewNature(doc, TtaGetDocumentSSchema(doc),
                                   "XML", "XMLP");
     return (XMLSSchema);
   }
   
 /*----------------------------------------------------------------------  /*----------------------------------------------------------------------
    GetGenericXMLSSchemaByUri returns the XML Thot schema for the document doc.     GetGenericXMLSSchemaByUri
      Returns the XML Thot schema for the document doc.
   ----------------------------------------------------------------------*/    ----------------------------------------------------------------------*/
 SSchema GetGenericXMLSSchemaByUri (char *uriName, Document doc, ThotBool *isnew)  SSchema GetGenericXMLSSchemaByUri (char *uriName, Document doc, ThotBool *isnew)
   

Removed from v.1.60  
changed lines
  Added in v.1.61


Webmaster