This file defines the basic type for an XML struct and functions useful in creation and usage of XML documents/files.
Definition in file psXML.h.
#include <libxml/parser.h>
#include <string.h>
#include <ctype.h>
#include <limits.h>
#include "psMetadata.h"
#include "psMetadataConfig.h"
#include "psMemory.h"
#include "psError.h"
#include "psString.h"
#include "psConstants.h"
#include "psTime.h"
#include "psErrorText.h"
Include dependency graph for psXML.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Typedefs | |
| typedef xmlDocPtr | psXMLDoc |
| XML wrapper pointing to an XML document in memory. | |
Functions | |
| psXMLDoc * | psXMLDocAlloc (void) |
| Allocates a new psXMLDoc. | |
| psXMLDoc * | psMetadataToXMLDoc (const psMetadata *md) |
| Converts a psMetadata data structure to a complete psXMLDoc (in memory). | |
| psMetadata * | psXMLDocToMetadata (const psXMLDoc *doc) |
| Converts a complete psXMLDoc (in memory) to a psMetadata data structure. | |
| psXMLDoc * | psXMLParseFile (const char *filename) |
| Loads the data in a named file into a complete psXMLDoc (in memory). | |
| bool | psXMLDocToFile (const psXMLDoc *doc, const char *filename) |
| Writes out a complete psXMLDoc (in memory) to a named file. | |
| psXMLDoc * | psXMLParseMem (const char *buffer, int size) |
| Accepts a block of memory and parses it into a complete psXMLDoc (also in memory). | |
| bool | psXMLDocToMem (const psXMLDoc *doc, char *buffer) |
| Accepts a complete psXMLDoc (in memory) and parses it into a block of memory. | |
| psXMLDoc * | psXMLParseFD (int fd) |
| Reads from a file descriptor and converts the incoming data to a complete psXMLDoc (in memory). | |
| bool | psXMLDocToFD (const psXMLDoc *doc, int fd) |
| Reads from a complete psXMLDoc (in memory) and writes it to a file descriptor. | |
1.4.2