> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Hans Hagen > Sent: Monday, August 11, 2003 4:53 PM > To: [EMAIL PROTECTED] > Subject: RE: [NTG-context] some XML stuff (and bugs?) > > > At 15:41 11/08/2003 +0200, you wrote: > >yes, this works: > > > > > \starttext > > > > > > \defineXMLsave [buffer] > > > > > > \defineXMLsingular [buffer] {\XMLflush{buffer}} > > > > > > \startXMLdata > > > test <buffer>here</buffer> test <buffer/> > think of it: what should expand and what not and when?
exactly said, in this case I need unwrap <buffer/> and process it in \XMLremapdata[mml]... I tried it but I did not suceed as \XMLflush executes content and, of course, there nothing is left for \XMLremapdata to remap. So, I fairly know what and how to expand, but I did not achieve this in ConTeXt. It worths for thinking :-). Currently, I have this solved -- I process my buffers first using XSLT (as I cannot decompose <... etc. in verbatim buffers into <... and then process the buffer using processXMLbuffer) to generate \startbuffer..\stopbuffer containing <>, and I assure that all buffers will contain <math> and </math> to avoid problems with expanding for \XMLremapdata. Thank you and please dismiss the topic if you want, Martin _______________________________________________ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
