With TL18, the following produces the expected xml and associated files. \setupbackend         [export=yes] \starttext \input knuth \stoptext With current betas, the xhtml file contains: invalid xml file - parsed text and the other files have similar content. Can anyone reproduce the error or offer a workaround? -- Rik