Re: [xsl] normalize-space and sequence

Subject: Re: [xsl] normalize-space and sequence
From: Abel Braaksma <>
Date: Thu, 27 Sep 2007 00:43:39 +0200
David Carlisle wrote:
	      <entry ie="{$foobar}" name="{para}"

and apparently want that to be

<entry ie="{normalize-space($foobar)}" name="{normalize-space(para)}"

If there may be multiple para nodes as children of an entry you'll need
string-join as well, if not then not.

that will become messy in the end. I'd opt for the pipeline method (not micro-pipeline, am I correct, Wendell? Because we rerun the whole thing again), where with a couple of extra matching templates, you can focus only on the stripping whitespace bits.

-- Abel

Current Thread