Diff for /rpm2html/rdf_api.c between versions 1.4 and 1.5

version 1.4, 1998/05/15 03:12:24 version 1.5, 1998/05/22 21:10:42
Line 183  rdfDescription rdfAddDescription(rdfSche Line 183  rdfDescription rdfAddDescription(rdfSche
     return((rdfDescription) tree);      return((rdfDescription) tree);
 }  }
   
   /*
    * Read the attributes of a Description node.
    */
   char *rdfGetDescriptionId(rdfSchema schema, rdfDescription desc) {
       char *res;
   
       res = (char *) xmlGetProp(desc, "ID");
       return(res);
   }
   
   char *rdfGetDescriptionHref(rdfSchema schema, rdfDescription desc) {
       char *res;
       rdfNamespace dtd;
       char *buf;
   
       dtd = rdfGetRdfNamespace(schema);
       buf = (char *) malloc(strlen(dtd->AS) + 10);
       sprintf(buf, "%s:HREF", dtd->AS);
       res = (char *) xmlGetProp(desc, buf);
       free(buf);
       return(res);
   }
   
 /**  /**
  ** Routines to read/write final values.   ** Routines to read/write final values.
  **/   **/

Removed from v.1.4  
changed lines
  Added in v.1.5


Webmaster