Как проверить пустое ли поле?
doc-contains($elem/id, '', '[cust_field != пустоте]')
Это поле вложено в
<custom_fields>
<custom_field>
<name> Поле
<value> 123
Не работает:
doc-contains($elem/id, '', '[Empty(cust_field)!=false()]') true true() false
doc-contains($elem/id, '', '[cust_field=]')
doc-contains($elem/id, '', 'cust_field=')
doc-contains($elem/id, '', 'cust_field=""')
doc-contains($elem/id, '', '[cust_field=null]') null()
doc-contains($elem/id, '', '[cust_field=]')
doc-contains($elem/id, '', '[cust_field contains null]')
doc-contains($elem/id, '', '[cust_field contains ""]')