Re: normalize-space and sequence
On 26/09/2007, Michael Kay <mike@xxxxxxxxxxxx> wrote: > > I think I may have been using copy-of to start with, then > > switched to value-of but by that time had altered the schema... > > Copy-of will copy the text nodes rather than the typed value of the element. That explains it. It's good to know it's possible, and how to get there. > The data model actually allows systems to reconstruct the text nodes from > the typed value, but I don't think it's a good idea and Saxon doesn't do it. I think any alteration of the data through validation is a Very Bad Thing, so I would never use it or rely on it. So.... validation can add things (default values) and take them away (typed as xs:token). Any others? -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format