Show XML setting element value. More...
#include <xml_utils.h>
Go to the source code of this file.
Functions | |
void | xml_print_setting (xmlConfig_t *conf, char *path) |
Show XML setting element value. |
Show XML setting element value.
Definition in file xml_print_setting.c.
void xml_print_setting | ( | xmlConfig_t * | conf, | |
char * | path | |||
) |
Show XML setting element value.
[in] | conf | XML information for DOM and XPath |
[in] | path | path for XPath |
Definition at line 58 of file xml_print_setting.c.
References xml_get_setting().
00058 { 00064 xmlChar *val; /* Value */ 00065 00066 /* Get value using XPath */ 00067 val = xml_get_setting(conf, path); 00068 00069 (void) printf("Value of '%s' : %s\n", path, (char *) val != NULL ? (char *) val : "(setting unknown)"); 00070 }