Dear list, I have the following lpath: [contains(@class,'level2') and not contains(@id,'sinopsis')] Is there no way to get something as "@id~='sinopsis'" (which intends to have the id attribute "not equal to" sinopsis) in an lpath?. Many thanks for your help, Pablo -- http://www.ousia.tk
On 6/8/2019 8:17 PM, Pablo Rodriguez wrote:
Dear list,
I have the following lpath:
[contains(@class,'level2') and not contains(@id,'sinopsis')]
Is there no way to get something as "@id~='sinopsis'" (which intends to have the id attribute "not equal to" sinopsis) in an lpath?.
did you try [..... and not (@id == 'sinopsis') .....]
Many thanks for your help,
Pablo -- http://www.ousia.tk ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 6/9/19 12:14 PM, Hans Hagen wrote:
On 6/8/2019 8:17 PM, Pablo Rodriguez wrote:
[...] [contains(@class,'level2') and not contains(@id,'sinopsis')]
Is there no way to get something as "@id~='sinopsis'" (which intends to have the id attribute "not equal to" sinopsis) in an lpath?.
did you try [..... and not (@id == 'sinopsis') .....]
Many thanks for your help, Hans. I had no idea that there was such an option in lpaths. Pablo -- http://www.ousia.tk
participants (2)
-
Hans Hagen
-
Pablo Rodriguez