O'Reilly logo

Secure XML: The New Syntax for Signatures and Encryption by Kitty Niles, Donald E. Eastlake

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

4.3. Element Type Declarations

Elements are the main structure of an XML document. An element is defined as a group of one or more subelements or subgroups, character data, EMPTY, or ANY. Element type declarations identify the names of elements, the nature of their content, and how to use them. They have the following generic syntax:

<!ELEMENT   elementName
						elementContents >

Sometimes the content is text. At other times, the content consists of other elements that are arranged in a certain order or used a certain number of times. The list of contents in an element type declaration is called the content model.

4.3.1. Element Structures

The element rules build a hierarchy of elements that describe how one element relates to another element. XML ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required