W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2006

RE: Use of global attrbutes

From: Michael Kay <mike@saxonica.com>
Date: Wed, 6 Sep 2006 10:11:43 +0100
To: "'Pete Cordell'" <petexmldev@tech-know-ware.com>, <xmlschema-dev@w3.org>
Message-ID: <002e01c6d194$78abd550$6401a8c0@turtle>

> > Yes. Though it's often done using a wildcard (x:anyAttribute).
> 
> Although that wouldn't be limited to allowing just global 
> attributes - right?

If you specify xs:anyAttribute with processContents="strict", that does
restrict it to a global attribute. Otherwise it only constrains the
namespace.

Michael Kay
http://www.saxonica.com/
Received on Wednesday, 6 September 2006 09:12:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:55 GMT