27 Aug
2006
27 Aug
'06
12:50 p.m.
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