XML: The Rules
The rules for XML:
- Documents must be well-formed.
- Documents may be valid, that is conforming to the additional constraints provided in a DTD or
schema.
Well-formed documents must meet a specified set of criteria.
- There must be at least one element. The first element in the document is known as the “root
element".
- All tags must be properly nested.
- XML is case sensitive.
- There may be only one root element
- Attribute values must be in quotation marks.
- Elements may not have duplicate attribute names.
- Element and attribute names must obey XML naming rules: begin with a letter or an underscore
and contain no spaces.
XML Rules
Table of Contents
Copyright (c) 2008. Intertech, Inc. All Rights Reserved. This information is to be used exclusively as an
online learning aid. Any attempts to copy, reproduce, or use for training is strictly prohibited.
Courseware
Training Resources
Tutorials
Services