![](https://secure.gravatar.com/avatar/13bc5842f0b785acdb8f02c38b78439d.jpg?s=120&d=mm&r=g)
Dear List,
Consider the following MWE:
\startxmlsetups xml:demo:base
\xmlsetsetup{#1}{tag}{xml:demo:tag}
\stopxmlsetups
\xmlregisterdocumentsetup{demo}{xml:demo:base}
\startxmlsetups xml:demo:tag
%\doif{\xmlnamespace{#1}}{o}{NameSpaceO:}
\xmlflush{#1}
\stopxmlsetups
\starttext
\startbuffer[test]
<?xml version="1.0"?>
<root xmlns="NameSpaceA"
xmlns:o="NameSpaceO">
<tag>text</tag>