Hi Hans, I think NAME added should be added to all versions of \xmldoifatt (ifnot and ifelse).
BTW, I’m afraid all three conditionals might be not working. The patch only fixes the explanation. Many thanks for your help, Pablo
--- context/tex/texmf-context/doc/context/sources/general/manuals/xml/xml-mkiv-commands.tex 2024-02-14 18:18:11.969692224 +0100 +++ xml-mkiv-commands.tex 2024-06-17 22:12:55.614570278 +0200 @@ -689,19 +689,20 @@ \startxmlcmd {\cmdbasicsetup{xmldoifatt}} expands to \cmdinternal {cd:true} when the attribute matching \cmdinternal - {cd:node} and the name given as second argument matches the third argument + {cd:node} and the \cmdinternal {cd:name} given as second argument matches + the third argument \stopxmlcmd \startxmlcmd {\cmdbasicsetup{xmldoifnotatt}} expands to \cmdinternal {cd:true} when the attribute matching \cmdinternal - {cd:node} and the name given as second argument differs from the third - argument + {cd:node} and the \cmdinternal {cd:name} given as second argument differs + from the third argument \stopxmlcmd \startxmlcmd {\cmdbasicsetup{xmldoifelseatt}} expands to \cmdinternal {cd:true} when the attribute matching \cmdinternal - {cd:node} and the name given as second argument matches the third argument - and to \cmdinternal {cd:false} otherwise + {cd:node} and the \cmdinternal {cd:name} given as second argument matches + the third argument and to \cmdinternal {cd:false} otherwise \stopxmlcmd \startxmlcmd {\cmdbasicsetup{xmldoifelseempty}}
_______________________________________________ dev-context mailing list -- dev-context@ntg.nl To unsubscribe send an email to dev-context-le...@ntg.nl