XML Schema Complete Reference, The
by Cliff Binstock, Chris Galtenberg, Mike Wooding, Chris Dix, Mitchell Smith, Dave Peterson
24.9. anyAttribute Element
The anyAttribute element allows attribute types from different namespaces to be valid for an XML instance using the namespace attribute. A database designer needs to understand which attribute types, in practice, will be used. Otherwise, the database schema needs to be designed to handle any of the possible attribute types in the namespace.
Because attributes correspond to attribute types whose structure type is just a simple type, refer to Chapter 23 to understand the design issues and example implementations. Most simple types are mapped to a single database table column; for those that map to tables, the tables should be created in a local database rather than linked to existing tables in a remote database. Linking ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access