summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorlukegleeson <luke.gleeson@est.tech>2021-11-02 09:42:46 +0000
committerLuke Gleeson <luke.gleeson@est.tech>2021-11-08 15:44:07 +0000
commit2b6d687265eee6f025a940e210aa7c7e1c930f26 (patch)
treea4cb71fc769ec6d112ccc981ea9483a83268cbd6 /docs
parentb6fe4eb602206e5495423ff8614eb5238829d115 (diff)
Documentations CPS-Path conditions mistake
Issue-ID: CPS-749 Signed-off-by: lukegleeson <luke.gleeson@est.tech> Change-Id: I63895f5ec3cfdf16c75b416d6a51a40c72c82878 (cherry picked from commit d02d69a3d0ae4bb03017f18678a2dbb402b75abb)
Diffstat (limited to 'docs')
-rw-r--r--docs/cps-path.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cps-path.rst b/docs/cps-path.rst
index 5834d68e1e..bc46681d1c 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).