|
pazpar2
1.14.1
|
#include <string.h>#include <yaz/yaz-util.h>#include <yaz/nmem.h>#include "normalize_record.h"#include "pazpar2_config.h"#include "service_xslt.h"#include "marcmap.h"#include <libxslt/xslt.h>#include <libxslt/transform.h>Go to the source code of this file.
Data Structures | |
| struct | normalize_step |
| struct | normalize_record_s |
Functions | |
| normalize_record_t | normalize_record_create (struct conf_service *service, const char *spec) |
| void | normalize_record_destroy (normalize_record_t nt) |
| int | normalize_record_transform (normalize_record_t nt, xmlDoc **doc, const char **parms) |
| normalize_record_t normalize_record_create | ( | struct conf_service * | service, |
| const char * | spec | ||
| ) |
Definition at line 49 of file normalize_record.c.
References conf_get_fname(), conf_server::config, marcmap_load(), normalize_step::next, normalize_record_s::nmem, normalize_record_destroy(), conf_service::server, service_xslt_get(), and normalize_record_s::steps.
Referenced by normalize_cache_get().
| void normalize_record_destroy | ( | normalize_record_t | nt | ) |
Definition at line 139 of file normalize_record.c.
References normalize_step::next, normalize_record_s::nmem, normalize_record_s::steps, and normalize_step::stylesheet1.
Referenced by normalize_cache_destroy(), and normalize_record_create().
| int normalize_record_transform | ( | normalize_record_t | nt, |
| xmlDoc ** | doc, | ||
| const char ** | parms | ||
| ) |
Definition at line 153 of file normalize_record.c.
References normalize_step::marcmap, marcmap_apply(), normalize_step::next, normalize_record_s::steps, normalize_step::stylesheet1, and normalize_step::stylesheet2.
Referenced by normalize_record().