XML Schema Complete Reference, The
by Cliff Binstock, Chris Galtenberg, Mike Wooding, Chris Dix, Mitchell Smith, Dave Peterson
24.8. any Element
The any element allows element types from different namespaces to be valid for an XML instance using the namespace attribute. A database designer needs to understand which element types, in practice, will be used. Otherwise, the database schema needs to be designed to handle any of the possible element types in the namespace. The complexType, which forms the basis for an element type, has been discussed extensively in this chapter.
If the allowable element types are complex in nature from a database perspective, it may be appropriate to link to a remote database. For example, the XML schema document representation of an element type whose structure type is siDBBusinessType in Listing 24.15 might look like the following element: ...
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