ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* xml problems with latest beta
@ 2009-04-23  6:06 Thomas A. Schmitz
  0 siblings, 0 replies; only message in thread
From: Thomas A. Schmitz @ 2009-04-23  6:06 UTC (permalink / raw)
  To: mailing ConTeXt users list for

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-23  6:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-23  6:06 xml problems with latest beta Thomas A. Schmitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).