Home | History | Annotate | Download | only in libxml2

Lines Matching refs:sgml

4  * Reference:  SGML Open Technical Resolution TR9401:1997.
76 #define XML_SGML_DEFAULT_CATALOG "file:///etc/sgml/catalog"
155 xmlCatalogType type; /* either XML or SGML */
158 * SGML Catalogs are stored as a simple hash table of catalog entries
160 * SGML catalog
165 xmlHashTablePtr sgml;
269 * SGML catalogs, but the acceptable types values differs.
407 * SGML catalogs, but the acceptable types values differs.
426 ret->sgml = xmlHashCreate(10);
442 if (catal->sgml != NULL)
443 xmlHashFree(catal->sgml,
460 * Serialize an SGML Catalog entry
714 * Converting SGML Catalogs to XML *
727 if ((entry == NULL) || (catal == NULL) || (catal->sgml == NULL) ||
759 xmlHashRemoveEntry(catal->sgml, entry->name,
764 * Conversion successful, remove from the SGML catalog
767 xmlHashRemoveEntry(catal->sgml, entry->name, NULL);
786 * Convert all the SGML catalog entries as XML ones
798 "Converting SGML catalog to XML\n");
800 xmlHashScan(catal->sgml,
2131 * The SGML Catalog parser *
2146 * Skip a comment in an SGML catalog
2168 * Parse an SGML catalog ID
2237 * Parse an SGML catalog name
2274 * Get the Catalog entry type for a given SGML Catalog name
2308 * @catal: the SGML Catalog
2309 * @value: the content of the SGML Catalog serialization
2314 * Parse an SGML catalog content and fill up the @catal hash table with
2481 res = xmlHashAddEntry(catal->sgml, name, entry);
2494 res = xmlHashAddEntry(catal->sgml, sysid, entry);
2526 * SGML Catalog handling *
2532 * @catal: an SGML catalog hash
2569 * @catal: an SGML catalog hash
2593 * @catal: the SGML catalog
2606 if (catal->sgml == NULL)
2610 ret = xmlCatalogGetSGMLPublic(catal->sgml, pubID);
2614 ret = xmlCatalogGetSGMLSystem(catal->sgml, sysID);
2630 * Load an SGML super catalog. It won't expand CATALOG or DELEGATE
2631 * references. This is only needed for manipulating SGML Super Catalogs
2667 * This can be either an XML Catalog or an SGML Catalog
2668 * It will recurse in SGML CATALOG entries. On the other hand XML
2724 * This can be either an XML Catalog or an SGML Catalog
2792 const xmlChar *sgml;
2794 sgml = xmlCatalogGetSGMLSystem(catal->sgml, sysID);
2795 if (sgml != NULL)
2796 ret = xmlStrdup(sgml);
2827 const xmlChar *sgml;
2829 sgml = xmlCatalogGetSGMLPublic(catal->sgml, pubID);
2830 if (sgml != NULL)
2831 ret = xmlStrdup(sgml);
2874 const xmlChar *sgml;
2876 sgml = xmlCatalogSGMLResolve(catal, pubID, sysID);
2877 if (sgml != NULL)
2878 ret = xmlStrdup(sgml);
2909 const xmlChar *sgml;
2911 sgml = xmlCatalogSGMLResolve(catal, NULL, URI);
2912 if (sgml != NULL)
2913 ret = xmlStrdup(sgml);
2934 xmlHashScan(catal->sgml,
2972 if (catal->sgml == NULL)
2973 catal->sgml = xmlHashCreate(10);
2974 res = xmlHashAddEntry(catal->sgml, orig, entry);
2999 res = xmlHashRemoveEntry(catal->sgml, value,
3009 * @sgml: should this create an SGML catalog
3016 xmlNewCatalog(int sgml) {
3019 if (sgml) {
3022 if ((catal != NULL) && (catal->sgml == NULL))
3023 catal->sgml = xmlHashCreate(10);
3032 * @catal: should this create an SGML catalog
3055 if (catal->sgml == NULL)
3057 res = xmlHashSize(catal->sgml);
3185 * external entity loader. It will recurse in SGML CATALOG entries.
3458 * Convert all the SGML catalog entries as XML ones
3770 return(xmlCatalogGetSGMLSystem(xmlDefaultCatalog->sgml, sysID));
3814 return(xmlCatalogGetSGMLPublic(xmlDefaultCatalog->sgml, pubID));