-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hello!
I am porting a program from C to C++ and ran into an issue while trying to access the xpath of a SchemaNode.
Using libyang/C I could use the lysc_path() function with LYSC_PATH_DATA_PATTERN as the pathtype to get the full xpath of the node, including predicates for all list keys.
I would like to achieve the same behavior in C++, however the SchemaNode::path() method is hard-coded to use the LYSC_PATH_DATA pathtype, which doesn't include keys.
I would like to ask if there is any way in to circumvent this limitation and easily access the aforementioned full xpath with keys?
Metadata
Metadata
Assignees
Labels
No labels