30 Apr
2019
30 Apr
'19
9:58 p.m.
Hi, I've the following XML tag in my XML file: <invoice number="194-002" client="RPMB-0012"> <currency>EURO</currency> ..... with invoice being the root tag! Now I have a setup defined as below (only part!): \startxmlsetups xml:invoice:invoice \xmlfirst{#1}{currency} \par \xmldoif{\xmlfirst{#1}{currency}}{contains(text(),'EURO')} { Euro set! \par } ..... The \xmlfirst{#1}{currency} command prints EURO as expected. But the xmldoif command doesn't cause the Euro set be printed?! What's wrong here? The manual xml-mkiv.pdf doesn't give me any hint on how to make this work! Regards, Gerard --