Details
XML_CATALOGS_NAMESPACE
#define XML_CATALOGS_NAMESPACE |
The namespace for the XML Catalogs elements.
XML_CATALOG_PI
The specific XML Catalog Processing Instuction name.
enum xmlCatalogPrefer
typedef enum {
XML_CATA_PREFER_NONE = 0,
XML_CATA_PREFER_PUBLIC = 1,
XML_CATA_PREFER_SYSTEM
} xmlCatalogPrefer; |
enum xmlCatalogAllow
typedef enum {
XML_CATA_ALLOW_NONE = 0,
XML_CATA_ALLOW_GLOBAL = 1,
XML_CATA_ALLOW_DOCUMENT = 2,
XML_CATA_ALLOW_ALL = 3
} xmlCatalogAllow; |
xmlCatalogPtr
typedef xmlCatalog *xmlCatalogPtr; |
xmlNewCatalog ()
create a new Catalog.
xmlLoadACatalog ()
Load the catalog and build the associated data structures.
This can be either an XML Catalog or an SGML Catalog
It will recurse in SGML CATALOG entries. On the other hand XML
Catalogs are not handled recursively.
xmlLoadSGMLSuperCatalog ()
Load an SGML super catalog. It won't expand CATALOG or DELEGATE
references. This is only needed for manipulating SGML Super Catalogs
like adding and removing CATALOG or DELEGATE entries.
xmlConvertSGMLCatalog ()
Convert all the SGML catalog entries as XML ones
xmlACatalogAdd ()
Add an entry in the catalog, it may overwrite existing but
different entries.
xmlACatalogRemove ()
Remove an entry from the catalog
xmlACatalogResolve ()
Do a complete resolution lookup of an External Identifier
xmlACatalogResolveSystem ()
Try to lookup the catalog resource for a system ID
xmlACatalogResolvePublic ()
Try to lookup the system ID associated to a public ID in that catalog
xmlACatalogResolveURI ()
Do a complete resolution lookup of an URI
xmlACatalogDump ()
Free up all the memory associated with catalogs
xmlFreeCatalog ()
Free the memory allocated to a Catalog
xmlCatalogIsEmpty ()
Check is a catalog is empty
xmlInitializeCatalog ()
void xmlInitializeCatalog (void); |
Do the catalog initialization.
this function is not thread safe, catalog initialization should
preferably be done once at startup
xmlLoadCatalog ()
int xmlLoadCatalog (const char *filename); |
Load the catalog and makes its definitions effective for the default
external entity loader. It will recurse in SGML CATALOG entries.
this function is not thread safe, catalog initialization should
preferably be done once at startup
xmlLoadCatalogs ()
void xmlLoadCatalogs (const char *paths); |
Load the catalogs and makes their definitions effective for the default
external entity loader.
this function is not thread safe, catalog initialization should
preferably be done once at startup
xmlCatalogCleanup ()
void xmlCatalogCleanup (void); |
Free up all the memory associated with catalogs
xmlCatalogDump ()
void xmlCatalogDump (FILE *out); |
Free up all the memory associated with catalogs
xmlCatalogResolve ()
Do a complete resolution lookup of an External Identifier
xmlCatalogResolveSystem ()
Try to lookup the catalog resource for a system ID
xmlCatalogResolvePublic ()
Try to lookup the system ID associated to a public ID
xmlCatalogResolveURI ()
Do a complete resolution lookup of an URI
xmlCatalogAdd ()
Add an entry in the catalog, it may overwrite existing but
different entries.
If called before any other catalog routine, allows to override the
default shared catalog put in place by xmlInitializeCatalog();
xmlCatalogRemove ()
int xmlCatalogRemove (const xmlChar *value); |
Remove an entry from the catalog
xmlParseCatalogFile ()
xmlDocPtr xmlParseCatalogFile (const char *filename); |
parse an XML file and build a tree. It's like xmlParseFile()
except it bypass all catalog lookups.
xmlCatalogConvert ()
int xmlCatalogConvert (void); |
Convert all the SGML catalog entries as XML ones
xmlCatalogFreeLocal ()
void xmlCatalogFreeLocal (void *catalogs); |
Free up the memory associated to the catalog list
xmlCatalogAddLocal ()
void* xmlCatalogAddLocal (void *catalogs,
const xmlChar *URL); |
Add the new entry to the catalog list
xmlCatalogLocalResolve ()
Do a complete resolution lookup of an External Identifier using a
document's private catalog list
xmlCatalogLocalResolveURI ()
xmlChar* xmlCatalogLocalResolveURI (void *catalogs,
const xmlChar *URI); |
Do a complete resolution lookup of an URI using a
document's private catalog list
xmlCatalogSetDebug ()
int xmlCatalogSetDebug (int level); |
Used to set the debug level for catalog operation, 0 disable
debugging, 1 enable it
xmlCatalogSetDefaultPrefer ()
Allows to set the preference between public and system for deletion
in XML Catalog resolution. C.f. section 4.1.1 of the spec
Values accepted are XML_CATA_PREFER_PUBLIC or XML_CATA_PREFER_SYSTEM
xmlCatalogSetDefaults ()
Used to set the user preference w.r.t. to what catalogs should
be accepted
xmlCatalogGetDefaults ()
Used to get the user preference w.r.t. to what catalogs should
be accepted
xmlCatalogGetSystem ()
Try to lookup the system ID associated to a public ID
DEPRECATED, use xmlCatalogResolveSystem()
xmlCatalogGetPublic ()
Try to lookup the system ID associated to a public ID
DEPRECATED, use xmlCatalogResolvePublic()