Hi Thomas, yes, of course you are right, but thats not making the problems. Its switched in while making a "minimal" example. My problem or maxbe misunderstanding ist what I try to achieve with \xmldoifelse{#1}{/num}{ownnumber=\xmlcommand{#1}{/num}{xml:ueberForceFlush}}{number=no} or in a more complex way: \startxmlsetups xml:title \startchapter[ %start here number=\xmldoifelse{#1}{/num}{yes}{no}, %works ownnumber=\xmldoifelse{#1}{/num}{\xmlcommand{#1}{/num}{xml:ueberForceFlush}}{},%works %stop here title={\xmlflush{#1}},%works ] \stopchapter \stopxmlsetups what I want to do is to process the part between %start here and %stop here in another template which I can reuse in different hierarchies. But I cant find no way to do so. Greetings, Achim Am 08.01.2011 14:07, schrieb Thomas A. Schmitz:
On Jan 8, 2011, at 1:39 PM, Achim Jander wrote:
Hi Hans, sorry, i'll try to make it more clear: Excuse me, your example makes my head spin. Just from looking at it, there appears to be a fundamental error: you flush the content of<title> into a context \startchapter \stopchapter environment, AFAICS. But that's not right: the title is not the content of the chapter, but just its, errm, title. Can this be the reason why your code doesn't work?
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________