libyang DOC lyd_new_path() documentation updated
Also a separate page for various xpath expressions
used in libyang was created.
diff --git a/src/tree_data.h b/src/tree_data.h
index d0ba2a5..fa81daa 100644
--- a/src/tree_data.h
+++ b/src/tree_data.h
@@ -463,7 +463,7 @@
* @param[in] ctx Context to use. Mandatory if \p data_tree is NULL.
* @param[in] path Simple schema XPath of the new node. It can contain only simple node addressing with optional
* module names as prefixes. List nodes must have predicates, one for each list key in the correct order and
- * with it's value as well. Example: /ietf-yang-library:modules-state/module[name='ietf-yang-library'][revision='']/submodules
+ * with it's value as well, see @ref howtoxpath.
* @param[in] value Value of the new leaf/lealf-list. If creating other nodes of other types, set to NULL.
* @param[in] options Bitmask of options flags, see @ref pathoptions.
* @return First created node, NULL on error.