Re: [NTG-context] btx/xml tree - entry with missing field

2016-12-22 Thread Michael Eidenbenz
thanks a lot hans! > Am 22.12.2016 um 18:30 schrieb Hans Hagen : > > On 12/22/2016 6:06 PM, Michael Eidenbenz wrote: >> Hello >> >> I use the xml interface to list all publications that dont match a >> search criteria: >> >> /field[@name='keywords' >>and not

Re: [NTG-context] btx/xml tree - entry with missing field

2016-12-22 Thread Hans Hagen
On 12/22/2016 6:06 PM, Michael Eidenbenz wrote: Hello I use the xml interface to list all publications that dont match a search criteria: /field[@name='keywords' and not (contains(text(),'alpha'))] but there are entries where the keywords field is missing. how can I include

[NTG-context] btx/xml tree - entry with missing field

2016-12-22 Thread Michael Eidenbenz
Hello I use the xml interface to list all publications that dont match a search criteria: /field[@name='keywords' and not (contains(text(),'alpha'))] but there are entries where the keywords field is missing. how can I include them (here "test-3") in the output? Thanks