xml_print_setting.c File Reference

Show XML setting element value. More...

#include <xml_utils.h>
Include dependency graph for xml_print_setting.c:

Go to the source code of this file.

Functions

void xml_print_setting (xmlConfig_t *conf, char *path)
 Show XML setting element value.

Detailed Description

Show XML setting element value.

Definition in file xml_print_setting.c.


Function Documentation

void xml_print_setting ( xmlConfig_t conf,
char *  path 
)

Show XML setting element value.

Parameters:
[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 }


Generated on 12 May 2016 for DSCLIM by  doxygen 1.6.1