From 2b6d687265eee6f025a940e210aa7c7e1c930f26 Mon Sep 17 00:00:00 2001 From: lukegleeson Date: Tue, 2 Nov 2021 09:42:46 +0000 Subject: [PATCH] Documentations CPS-Path conditions mistake Issue-ID: CPS-749 Signed-off-by: lukegleeson Change-Id: I63895f5ec3cfdf16c75b416d6a51a40c72c82878 (cherry picked from commit d02d69a3d0ae4bb03017f18678a2dbb402b75abb) --- docs/cps-path.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cps-path.rst b/docs/cps-path.rst index 5834d68e1..bc46681d1 100644 --- a/docs/cps-path.rst +++ b/docs/cps-path.rst @@ -113,7 +113,7 @@ leaf-conditions - ``/shops/bookstore/categories[@numberOfBooks=1]`` - ``//categories[@name="Kids"]`` - ``//categories[@name='Kids']`` - - ``//categories[@code=1]/book[@title='Dune' and price=5]`` + - ``//categories[@code=1]/books/book[@title='Dune' and @price=5]`` **Limitations** - Only the last list or container can be queried leaf values. Any ancestor list will have to be referenced by its key name-value pair(s). -- 2.16.6