![](https://secure.gravatar.com/avatar/29c7bbff49b1599eddb2ec73fd9ffa6e.jpg?s=120&d=mm&r=g)
I have the following problem with xml processing. Spurious space is typeset, annoyingly visible when nearly equivalent structures are typeset one under another. Take the following node structure where the <text> node is the one intended to contribute to the typeset material, whereas <anothernode> is not. <root> <node> <anothernode>..</anothernode> <text> .. </text> </node> </root> Doing in the <root>-node: \xmlstripnolines{#1}{/node}\xmlall{#1}{/node} removes some of the unwanted spaces but not all. Especially the space between </anothernode> and <text> does not completely disappear (seen with \xmlstrippednolines). This also occurs when </anothernode> and <text> are on the same line separated by a number of spaces. The space disappears when </anothernode><text> are put next to another. However, this destroys the neat typography of the xml. The manual tells me that \xmlstripnolines ..collapses embedded spaces from nodes under node.. That seems correct in that obviously the code leaves one space from the intervening spaces/newlines. But this gains me nothing! Why leaving a single space between <node> and <next-node>? For me this defeats the purpose of xmlstripnolines. Can this be remedied? Hans van der Meer