Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: markup/textual/atom/touzet/extracted
Source used for this grammar: David Touzet, ATOM 1.0, ATOM.ecore
, 2005/11/01
String
, Integer
, ATOM
, Entry
, Source
, Content
, InLineXHTMLContent
, InLineOtherContent
, OutOfLineContent
, Generator
, Category
, Link
, Person
, Author
, Contributor
, Date
), 0 root (—), 1 top (Person
), 0 bottom (—).[title]
4, [id]
3, [subtitle]
2, [rights]
3, [icon]
2, [logo]
2, [links]
3, [lastUpdate]
3, [generator]
2, [categories]
3, [authors]
2, [contibutors]
2, [entries]
, [summary]
, [source]
, [published]
, [content]
, [atom]
, [contributors]
, [author]
, [type]
4, [src]
, [uri]
4, [version]
, [term]
, [scheme]
, [label]
, [href]
, [rel]
, [hreflang]
, [lenght]
, [name]
3, [email]
3, [day]
, [month]
, [year]
, [hours]
, [minutes]
, [seconds]
.String ::= string
Integer ::= integer
ATOM ::= [title]::String [id]::String [subtitle]::String [rights]::String [icon]::String [logo]::String [links]::Link[lastUpdate]::Date [generator]::Generator [categories]::Category [authors]::Author [contibutors]::Contributor [entries]::Entry
Entry ::= [title]::String [id]::String [rights]::String [summary]::String [links]::Link[source]::Source [published]::Date [lastUpdate]::Date [content]::Content [categories]::Category [authors]::Author [contibutors]::Contributor [atom]::ATOM
Source ::= [id]::String [icon]::String [logo]::String [rights]::String [title]::String [subtitle]::String [links]::Link[lastUpdate]::Date [generator]::Generator [contributors]::Contributor [categories]::Category [author]::Author
Content ::= InLineXHTMLContent
Content ::= InLineOtherContent
Content ::= OutOfLineContent
Content ::= [type]::String
InLineXHTMLContent ::= [type]::String
InLineOtherContent ::= [type]::String
OutOfLineContent ::= [src]::String
Generator ::= [uri]::String [version]::String
Category ::= [term]::String [scheme]::String [label]::String
Link ::= [href]::String [rel]::String [type]::String [hreflang]::String [title]::String [lenght]::Integer
Person ::= Author
Person ::= Contributor
Person ::= [name]::String [uri]::String [email]::String
Author ::= [name]::String [uri]::String [email]::String
Contributor ::= [name]::String [uri]::String [email]::String
Date ::= [day]::Integer [month]::Integer [year]::Integer [hours]::Integer [minutes]::Integer [seconds]::Integer