On Nov 6, 2008, at 1:26 PM, Hans Hagen wrote:
so, how about a test file ...
Yes we can! Here comes: \startxmlsetups mytest \xmlsetsetup{main}{document|p}{*} \stopxmlsetups \xmlregistersetup{mytest} \startxmlsetups document \xmlflush{#1}\par \stopxmlsetups \startxmlsetups p \xmlflush{#1}\par \stopxmlsetups \defineXMLentity[textbar]{\textbar} \defineXMLentity[shorta]{\buildtextaccent\textbreve a} \startbuffer[test] <?xml version="1.0" encoding="UTF-8"?> <document> <p>Hello &textbar; &shorta; World!</p> </document> \stopbuffer \starttext \xmlprocessbuffer{main}{test}{} \stoptext
indeed something has changed, i.e. all encoding stuff is gone, but it should not affect too much
do you use mkii xml or mkiv xml
I've switched to mkiv almost exclusively, esp. for all my xml stuff. Greets Thomas