Re: [xsl] normalize-space and sequence

Subject: Re: [xsl] normalize-space and sequence
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Wed, 26 Sep 2007 16:49:10 +0100
On 26/09/2007, David Carlisle <davidc@xxxxxxxxx> wrote:
>
> >   As a side note, there is no way to globally say 'all my xml
> > attribute/elements should have normalize space'.
>
> me> not on input,
>
> Michael> Yes there is: you can declare their types in a schema
>
> Ah, Michael's right of course,

Any chance of an example?

Given:

<foo>
	Hello
	World
</foo>

...what type do give it to get "Hello World" for value-of or copy-of
select="foo" ?

Doesn't seem possible at the moment...

-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

Current Thread