Home | History | Annotate | Download | only in libxml2

Lines Matching refs:sgml

4  * Reference:  SGML Open Technical Resolution TR9401:1997.
74 #define XML_SGML_DEFAULT_CATALOG "file:///etc/sgml/catalog"
151 xmlCatalogType type; /* either XML or SGML */
154 * SGML Catalogs are stored as a simple hash table of catalog entries
156 * SGML catalog
161 xmlHashTablePtr sgml;
265 * SGML catalogs, but the acceptable types values differs.
403 * SGML catalogs, but the acceptable types values differs.
422 ret->sgml = xmlHashCreate(10);
438 if (catal->sgml != NULL)
439 xmlHashFree(catal->sgml,
456 * Serialize an SGML Catalog entry
710 * Converting SGML Catalogs to XML *
723 if ((entry == NULL) || (catal == NULL) || (catal->sgml == NULL) ||
755 xmlHashRemoveEntry(catal->sgml, entry->name,
760 * Conversion successful, remove from the SGML catalog
763 xmlHashRemoveEntry(catal->sgml, entry->name, NULL);
782 * Convert all the SGML catalog entries as XML ones
794 "Converting SGML catalog to XML\n");
796 xmlHashScan(catal->sgml,
2132 * The SGML Catalog parser *
2147 * Skip a comment in an SGML catalog
2169 * Parse an SGML catalog ID
2238 * Parse an SGML catalog name
2275 * Get the Catalog entry type for a given SGML Catalog name
2309 * @catal: the SGML Catalog
2310 * @value: the content of the SGML Catalog serialization
2315 * Parse an SGML catalog content and fill up the @catal hash table with
2482 res = xmlHashAddEntry(catal->sgml, name, entry);
2495 res = xmlHashAddEntry(catal->sgml, sysid, entry);
2527 * SGML Catalog handling *
2533 * @catal: an SGML catalog hash
2570 * @catal: an SGML catalog hash
2594 * @catal: the SGML catalog
2607 if (catal->sgml == NULL)
2611 ret = xmlCatalogGetSGMLPublic(catal->sgml, pubID);
2615 ret = xmlCatalogGetSGMLSystem(catal->sgml, sysID);
2631 * Load an SGML super catalog. It won't expand CATALOG or DELEGATE
2632 * references. This is only needed for manipulating SGML Super Catalogs
2668 * This can be either an XML Catalog or an SGML Catalog
2669 * It will recurse in SGML CATALOG entries. On the other hand XML
2725 * This can be either an XML Catalog or an SGML Catalog
2793 const xmlChar *sgml;
2795 sgml = xmlCatalogGetSGMLSystem(catal->sgml, sysID);
2796 if (sgml != NULL)
2797 ret = xmlStrdup(sgml);
2828 const xmlChar *sgml;
2830 sgml = xmlCatalogGetSGMLPublic(catal->sgml, pubID);
2831 if (sgml != NULL)
2832 ret = xmlStrdup(sgml);
2875 const xmlChar *sgml;
2877 sgml = xmlCatalogSGMLResolve(catal, pubID, sysID);
2878 if (sgml != NULL)
2879 ret = xmlStrdup(sgml);
2910 const xmlChar *sgml;
2912 sgml = xmlCatalogSGMLResolve(catal, NULL, URI);
2913 if (sgml != NULL)
2914 ret = xmlStrdup(sgml);
2935 xmlHashScan(catal->sgml,
2973 if (catal->sgml == NULL)
2974 catal->sgml = xmlHashCreate(10);
2975 res = xmlHashAddEntry(catal->sgml, orig, entry);
3000 res = xmlHashRemoveEntry(catal->sgml, value,
3010 * @sgml: should this create an SGML catalog
3017 xmlNewCatalog(int sgml) {
3020 if (sgml) {
3023 if ((catal != NULL) && (catal->sgml == NULL))
3024 catal->sgml = xmlHashCreate(10);
3033 * @catal: should this create an SGML catalog
3056 if (catal->sgml == NULL)
3058 res = xmlHashSize(catal->sgml);
3186 * external entity loader. It will recurse in SGML CATALOG entries.
3459 * Convert all the SGML catalog entries as XML ones
3771 return(xmlCatalogGetSGMLSystem(xmlDefaultCatalog->sgml, sysID));
3815 return(xmlCatalogGetSGMLPublic(xmlDefaultCatalog->sgml, pubID));