Re: [xsl] removing final space from node tree

Subject: Re: [xsl] removing final space from node tree
From: Michael Ludwig <milu71@xxxxxx>
Date: Mon, 20 Apr 2009 22:18:23 +0200
Lars Huttar schrieb am 20.04.2009 um 15:09:31 (-0500):

> Unfortunately, this means that the text content of each output
> <lanuguage-desc> element often ends with an unwanted space. Worse, this
> extra space causes confusion downstream. So the question is, how to get
> rid of this extra space (if any)?

> My concern is that this seems like a very complex way to have to
> eliminate a final space.

Hi Lars,

sounds like you should be able to solve this using normalize-space().

Michael Ludwig

Current Thread