schema tree FEATURE getter for expr from parsed xpath
diff --git a/src/tree_schema.h b/src/tree_schema.h
index 61b4c22..aac43bf 100644
--- a/src/tree_schema.h
+++ b/src/tree_schema.h
@@ -2054,11 +2054,20 @@
 
 /**
  * @brief Stringify schema nodetype.
+ *
  * @param[in] nodetype Nodetype to stringify.
  * @return Constant string with the name of the node's type.
  */
 const char *lys_nodetype2str(uint16_t nodetype);
 
+/**
+ * @brief Getter for original XPath expression from a parsed expression.
+ *
+ * @param[in] path Parsed expression.
+ * @return Original string expression.
+ */
+const char *lyxp_get_expr(const struct lyxp_expr *path);
+
 /** @} schematree */
 
 #ifdef __cplusplus