From: lukegleeson Date: Tue, 2 Nov 2021 09:42:46 +0000 (+0000) Subject: Documentations CPS-Path conditions mistake X-Git-Tag: mr/823/126723/7~37 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=cps.git;a=commitdiff_plain;h=2b6d687265eee6f025a940e210aa7c7e1c930f26 Documentations CPS-Path conditions mistake Issue-ID: CPS-749 Signed-off-by: lukegleeson Change-Id: I63895f5ec3cfdf16c75b416d6a51a40c72c82878 (cherry picked from commit d02d69a3d0ae4bb03017f18678a2dbb402b75abb) --- 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).