Documentations CPS-Path conditions mistake 25/125625/1
authorlukegleeson <luke.gleeson@est.tech>
Tue, 2 Nov 2021 09:42:46 +0000 (09:42 +0000)
committerLuke Gleeson <luke.gleeson@est.tech>
Mon, 8 Nov 2021 15:44:07 +0000 (15:44 +0000)
Issue-ID: CPS-749
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: I63895f5ec3cfdf16c75b416d6a51a40c72c82878
(cherry picked from commit d02d69a3d0ae4bb03017f18678a2dbb402b75abb)

docs/cps-path.rst

index 5834d68..bc46681 100644 (file)
@@ -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).