Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: markup/textual/rss/touzet/extracted
Source used for this grammar: David Touzet, RSS-2.0 (Really Simple Syndication) 2.0, RSS-2.0.ecore
, 2005/11/01 [Atlantic]
RSS
, Channel
, Item
, Image
, TextInput
, Cloud
, Category
, Enclosure
, Source
, Date
, DayKind
, String
, Integer
), 0 root (—), 0 top (—), 0 bottom (—).[version]
, [channel]
5, [title]
4, [link]
4, [description]
4, [language]
, [copyright]
, [managingEditor]
, [webmaster]
, [generator]
, [docs]
, [ttl]
, [rating]
, [skipHours]
, [skipDays]
, [rss]
, [pubDate]
2, [lastBuildDate]
, [image]
, [textInput]
, [cloud]
, [category]
2, [items]
, [author]
, [comments]
, [guid]
, [source]
, [enclosure]
, [url]
3, [width]
, [height]
, [name]
, [domain]
2, [port]
, [path]
, [registerProcedure]
, [protocol]
, [value]
2, [lenght]
, [type]
, [eDay]
, [day]
, [month]
, [year]
, [hours]
, [minutes]
, [seconds]
, [Monday]
, [Tuesday]
, [Wednesday]
, [Thursday]
, [Friday]
, [Saturday]
, [Sunday]
.RSS ::= [version]::String [channel]::Channel
Channel ::= [title]::String [link]::String [description]::String [language]::String [copyright]::String [managingEditor]::String [webmaster]::String [generator]::String [docs]::String [ttl]::Integer [rating]::String [skipHours]::Integer[skipDays]::DayKind [rss]::RSS [pubDate]::Date [lastBuildDate]::Date [image]::Image [textInput]::TextInput [cloud]::Cloud [category]::Category [items]::Item
Item ::= [title]::String [link]::String [description]::String [author]::String [comments]::String [guid]::String [source]::Source [pubDate]::Date [enclosure]::Enclosure [category]::Category [channel]::Channel
Image ::= [url]::String [title]::String [link]::String [description]::String [width]::Integer [height]::Integer [channel]::Channel
TextInput ::= [title]::String [description]::String [name]::String [link]::String [channel]::Channel
Cloud ::= [domain]::String [port]::Integer [path]::String [registerProcedure]::String [protocol]::String [channel]::Channel
Category ::= [domain]::String [value]::String
Enclosure ::= [url]::String [lenght]::Integer [type]::String
Source ::= [url]::String [value]::String
Date ::= [eDay]::DayKind [day]::Integer [month]::Integer [year]::Integer [hours]::Integer [minutes]::Integer [seconds]::Integer
DayKind ::= [Monday]::ε [Tuesday]::ε [Wednesday]::ε [Thursday]::ε [Friday]::ε [Saturday]::ε [Sunday]::ε
String ::= string
Integer ::= integer