Hi,
XPATH 1.0 defines the following three node-type tests:
1) comment()
2) processing-instruction(<opt arg>)
3) text()
My assumption is that a YANG tree doesn't contain any nodes of type
'comment' or 'processing-instruction' and hence these filters would
never match any nodes.
However, it wasn't clear to me from reading 7950 or rfc6087bis-14
whether text() matches anything. In particular, does a YANG leaf node
(except of type empty) always parent a text node that holds its value?
Thanks,
Rob
_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod