X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fcps-path.rst;h=bc46681d1cb72de953d80ed8c7d99499cdccb9d7;hb=2b6d687265eee6f025a940e210aa7c7e1c930f26;hp=5834d68e1e1fbb7df5518935866f6bad501bb1bc;hpb=b6fe4eb602206e5495423ff8614eb5238829d115;p=cps.git 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).