![](https://secure.gravatar.com/avatar/d161827d0958be8f683f859bc5896de5.jpg?s=120&d=mm&r=g)
27 Aug
2006
27 Aug
'06
2: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