[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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>
RE: Use of global attrbutes

> > 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

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.