Johannes Graumann wrote:
Hello,
I have a strange question. While working with XML and ConTeXt, I have run into the TeXnic problem of the interpretation of line breaks. What I would prefer to do for code clarity sake are things like the following: <list> <item> Something </item> <item> else </item> </list>
This is however screwed up by TeXs line break interpretation, forcing me to format the input like so: <list> <item>Something</item> <item>else</item> </list>
The question now is: is there any way to tell context to strip trailing whitespaces/line breaks from XML nodes?
\defineXMLenvironment [item] {...\ignorespaces} {\removeunwantedspaces ...} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------