Technologies XML / RSS & Atom / Référence : éléments Atom / Atom constructions

(Extrait de « Newsfeeds avec RSS et Atom » de Heinz Wittenbrink, publié chez Galileo Press, 2005)

Construction de texte Atom

Signification

Pour inclure du texte simple, lisible par l’être humain, du texte HTML ou du texte XHTML dans le document Atom.

Schéma

atomPlainTextConstruct =
      atomCommonAttributes,
      attribute type { "text" | "html" }?,
      text

atomXHTMLTextConstruct =
      atomCommonAttributes,
      attribute type { "xhtml" },
      xhtmlDiv

atomTextConstruct = atomPlainTextConstruct | atomXHTMLTextConstruct

Construction de personne Atom

Signification

Pour décrire des personnes et des groupes dans le document Atom.

Schéma

atomPersonConstruct =
      atomCommonAttributes,
      (element atom:name { text }
       & element atom:uri { atomUri }?
       & element atom:email { atomemailAddress }?
       & extensionElement*)

Construction de date Atom

Signification

Pour les dates conformes à RFC 3339.

Schéma

atomDateConstruct =
      atomCommonAttributes,
      xsd:dateTime

   

 

 

 

Licence Creative Commons
Cette œuvre est mise à disposition selon une licence Creative Commons Attribution - Partage dans les Mêmes Conditions 3.0 non transposé.

haut de page