AW: Restricting attribute content to not include a specific string

oh, I see. I suppose I need to take a deeper look into the specs. 
I didn't know that this will be possible. 
Cute solution :)

best regards,
Roman 

> -----Ursprüngliche Nachricht-----
> Von: Michael Kay [mailto:mike@saxonica.com] 
> Gesendet: Freitag, 21. April 2006 10:10
> An: Huditsch, Roman (LNG-VIE); xmlschema-dev@w3.org
> Betreff: RE: Restricting attribute content to not include a 
> specific string
> 
> > Thank you very much for all your helpfull input.
> > Maybe that would be a nice feature for XML Schema 1.1 to allow this 
> > kind of "intersect" or "except" statements.
> 
> Now that XPath handles all schema-defined types, the obvious 
> answer to this and many other similar requirements is a facet
> 
> <xs:satisfies test="not(. eq 'unknown')"/>
> 
> Michael Kay
> http://www.saxonica.com/
> 
> 

Received on Friday, 21 April 2006 08:14:37 UTC