XML Schema any Element
β
- Home
- HTML
- JavaScript
- CSS
- Vue
- React
- Python3
- Java
- C
- C++
- C#
- AI
- Go
- SQL
- Linux
- VS Code
- Bootstrap
- Git
- Local Bookmarks
XML Schema Tutorial
XML Schema TutorialIntroduction to XML SchemasWhy Use XML Schema?How to Use XML SchemaXML schema ElementXSD Simple ElementsXML Schema AttributesXML Schema Restrictions / FacetsXML Schema Complex ElementsXML Schema Complex Empty ElementsXML Schema Complex Types β Elements OnlyXML Schema Complex Elements β Text OnlyXML Schema Complex Types β Mixed ContentXML Schema IndicatorsXML Schema any ElementXML Schema anyAttribute ElementXML Schema Element SubstitutionXML Schema ExamplesXML Schema String Data TypesXML Schema Date/Time Data TypesXML Schema Numeric Data TypesXML Schema Miscellaneous Data TypesXML EditorsXML Schema SummaryXML Schema Reference Manual
XML Schema anyAttribute Element
Deep Dive
Programming
Development Tools
Web Service
Scripting
Computer Science
Scripting Languages
Software
Web Services
Web Design and Development
Search
XML Schema any Element
Complete XML Schema Reference Manual
Definition and Usage
The any element enables authors to extend XML documents with elements not specified by the schema.
Element Information
- Parent elements: choice, sequence
Syntax
<any
id=ID
maxOccurs=nonNegativeInteger|unbounded
minOccurs=nonNegativeInteger
namespace=namespace
processContents=lax|skip|strict
_any attributes_
>
(annotation?)
</any>
(The ? symbol indicates that the element can appear zero or one time within any element.)
<any
id=ID
maxOccurs=nonNegativeInteger|unbounded
minOccurs=nonNegativeInteger
namespace=namespace
processContents=lax|skip|strict
_any attributes_
>
(annotation?)
</any>
| Attribute | Description |
|---|---|
| id | Optional. Specifies a unique ID for the element. |
| maxOccurs | Optional. Specifies the maximum number of times the any element can occur in the parent element. The value can be any integer >= 0. To make the any group optional, set this attribute to zero. Default value is 1. |
| minOccurs | Optional. Specifies the minimum number of times the any element can occur in the parent element. The value can be any number >= 0. Default value is 1 |
| namespace | Optional. Specifies the namespace containing the elements that can be used. If no namespace is specified, ##any is the default. If a namespace is specified, it must be one of the following values:
|
YouTip