Basic NLSML Routine. More...
#include "apr_xml.h"
#include "apt_string.h"
Go to the source code of this file.
Functions | |
APT_BEGIN_EXTERN_C apr_xml_doc * | nlsml_doc_load (const apt_str_t *data, apr_pool_t *pool) |
apr_xml_elem * | nlsml_first_interpret_get (const apr_xml_doc *doc) |
apr_xml_elem * | nlsml_next_interpret_get (const apr_xml_elem *interpret) |
apt_bool_t | nlsml_interpret_results_get (const apr_xml_elem *interpret, apr_xml_elem **instance, apr_xml_elem **input) |
const char * | nlsml_input_attrib_get (const apr_xml_elem *input, const char *attrib, apt_bool_t recursive) |
Basic NLSML Routine.
APT_BEGIN_EXTERN_C apr_xml_doc* nlsml_doc_load | ( | const apt_str_t * | data, | |
apr_pool_t * | pool | |||
) |
Load NLSML document
apr_xml_elem* nlsml_first_interpret_get | ( | const apr_xml_doc * | doc | ) |
Get the first interpretation element
const char* nlsml_input_attrib_get | ( | const apr_xml_elem * | input, | |
const char * | attrib, | |||
apt_bool_t | recursive | |||
) |
Get specified atrribute of input element
apt_bool_t nlsml_interpret_results_get | ( | const apr_xml_elem * | interpret, | |
apr_xml_elem ** | instance, | |||
apr_xml_elem ** | input | |||
) |
Get instance and input elements of interpretation element
apr_xml_elem* nlsml_next_interpret_get | ( | const apr_xml_elem * | interpret | ) |
Get the next interpretation element