23 Apr
2009
23 Apr
'09
8:06 a.m.
Hi all, here is a minimal test file that shows a problem with xml handling in the latest beta (this appears to be a consequence of the new structure code): \startbuffer[xmltest] <section> <title>First section</title> <content>Hello world</content> </section> \stopbuffer \startxmlsetups xml:mysetups \xmlsetsetup{\xmldocument}{section|content|title}{xml:*} \stopxmlsetups \xmlregistersetup{xml:mysetups} \startxmlsetups xml:section \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:content \xmlflush{#1} \par \stopxmlsetups \startxmlsetups xml:title \section{\xmlflush{#1}} \stopxmlsetups \starttext \xmlprocessbuffer{main}{xmltest}{} \stoptext All best Thomas