Complex Type Element

A complex type in an XML Schema is an XML element that may have other XML elements within it. In HTML, an example of a complex type is the <body> tag. The body element can have within it many other elements, such as <p>, <table>, or <ol>.

The first complex type we find in the newsletter XML is NewsletterType. To define a complex type in a schema you use the complexType element:

Element Information

  • Parent elements: element, redefine, schema

Syntax

List and Union type
Text Only complex type

Get industry recognized certification – Contact us

keyboard_arrow_up
Open chat
Need help?
Hello 👋
Can we help you?