xsl-list
[Top] [All Lists]

Re: [xsl] normalize-space and sequence

2007-09-26 08:49:55
On 26/09/2007, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> 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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--