X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fcps-path.rst;h=bc46681d1cb72de953d80ed8c7d99499cdccb9d7;hb=165e3b8bcc492ebe31431f30c14d5dc98bb7f18e;hp=cb26548de2f0114ef3eda6efbfe0f4cdec226dee;hpb=bd8ab2fc4737aebada59962baed8b35d4f86dd1c;p=cps.git diff --git a/docs/cps-path.rst b/docs/cps-path.rst index cb26548de..bc46681d1 100644 --- a/docs/cps-path.rst +++ b/docs/cps-path.rst @@ -9,8 +9,6 @@ CPS Path ######## -.. warning:: draft - .. toctree:: :maxdepth: 1 @@ -115,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).