* question about lpath
@ 2019-06-08 18:17 Pablo Rodriguez
2019-06-09 10:14 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2019-06-08 18:17 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: question about lpath
2019-06-08 18:17 question about lpath Pablo Rodriguez
@ 2019-06-09 10:14 ` Hans Hagen
2019-06-09 10:56 ` Pablo Rodriguez
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2019-06-09 10:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: question about lpath
2019-06-09 10:14 ` Hans Hagen
@ 2019-06-09 10:56 ` Pablo Rodriguez
0 siblings, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2019-06-09 10:56 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-06-09 10:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-08 18:17 question about lpath Pablo Rodriguez
2019-06-09 10:14 ` Hans Hagen
2019-06-09 10:56 ` Pablo Rodriguez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).