j
k
j a
j l
The code below returns 'blue', but I was expecting 'not blue'. The class attribute on an empty node is null; null != blue.
let $node := () return if($node/@class != 'blue') then 'not blue' else 'blue'
Attachments:
Back to the thread
Back to the list