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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to