Syntaxe XML dokumentů

Základním požadavkem kladeným na každý XML dokument je, že musí být dobře utvořen (well-formed

. A to nastane, právě když:
  1. Taken as a whole, it matches the production labeled document:

    [1]    document    ::=    prolog element Misc* 
          			

    tj. obsahuje prolog (hlavičku) a právě jeden, tzv. kořenový element.

  2. It meets all the well-formedness constraints given in the specification.

  3. Each of the parsed entities which is referenced directly or indirectly within the document is well-formed.

Podívejte se na tutoriál základů XML v češtině

Rejstřík (glossary) pojmů ke XML