Hi all,

Is it possible to use something like \doifnextcharelse for xml- 
environments or is there a clever work-around? I need to know what  
the next tag is in order to decide if a linebreak needs to be inserted.

For example:

\defineXMLenvironment [av] {} {} % linebreak unless followed by  
<liste>-tag
\defineXMLenvironment [liste] {} {\crlf} % always a linebreak


\startXMLdata

<av> text </av> <liste> 15 </liste>  <!-- \crlf -->


<av> text </av>  <!-- \crlf -->

\stopXMLdata




Regards,

Sjoerd
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to