* Added new functions: xml_tree_equal and xpath2xml
* RFC 8528 yang schema mount-points: * Made expand_dbvar and cli_dbxml mountpoint-aware (RFC 8528) * autocli supportgenerate * Made api_path2xml and xml2api_path mount-point-aware * Temporar fix in clixon_custom.h: XPATH_CANONICAL_SKIP_CHECK * `xml2xpath()`: Added `apostrophe` as 4th parameter, default 0 * removed extra assert.h includes
This commit is contained in:
parent
1e136bc9df
commit
da2edceb7e
37 changed files with 658 additions and 145 deletions
|
|
@ -383,7 +383,7 @@ main(int argc,
|
|||
char *xpathi = NULL;
|
||||
for (i=0; i<xc->xc_size; i++){
|
||||
xi = xc->xc_nodeset[i];
|
||||
if (xml2xpath(xi, nsc, 0, &xpathi) < 0)
|
||||
if (xml2xpath(xi, nsc, 0, 0, &xpathi) < 0)
|
||||
goto done;
|
||||
fprintf(stdout, "Inverse: %s\n", xpathi);
|
||||
if (xpathi){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue