Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
1549 lines (1548 sloc) 34.3 KB
<?xml version="1.0" encoding="UTF-8"?>
<xns1:grammar xmlns:xns1="http://planet-sl.org/bgf">
<root>document</root>
<root>title-page</root>
<root>body</root>
<root>status</root>
<root>previous</root>
<root>part</root>
<root>metainfo</root>
<root>composite-section</root>
<root>placeholder</root>
<root>simple-section</root>
<root>lexical-section</root>
<root>list-section</root>
<root>term</root>
<root>structured-section</root>
<root>normative-role</root>
<root>informative-role</root>
<root>figure</root>
<root>table</root>
<root>formula</root>
<root>keyword</root>
<root>code</root>
<root>link</root>
<root>math</root>
<root>mfenced</root>
<root>mtext</root>
<root>msub</root>
<root>msup</root>
<root>mrow</root>
<root>mi</root>
<root>mo</root>
<root>varepsilon</root>
<xns1:production>
<nonterminal>document</nonterminal>
<xns1:expression>
<sequence>
<xns1:expression>
<nonterminal>title-page</nonterminal>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>content</selector>
<xns1:expression>
<plus>
<xns1:expression>
<nonterminal>part</nonterminal>
</xns1:expression>
</plus>
</xns1:expression>
</selectable>
</xns1:expression>
</sequence>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>title-page</nonterminal>
<xns1:expression>
<sequence>
<xns1:expression>
<optional>
<xns1:expression>
<sequence>
<xns1:expression>
<nonterminal>body</nonterminal>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>number</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
</sequence>
</xns1:expression>
</optional>
</xns1:expression>
<xns1:expression>
<nonterminal>metainfo</nonterminal>
</xns1:expression>
<xns1:expression>
<nonterminal>status</nonterminal>
</xns1:expression>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>version</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>edition</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
</choice>
</xns1:expression>
<xns1:expression>
<star>
<xns1:expression>
<nonterminal>previous</nonterminal>
</xns1:expression>
</star>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>date</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
</sequence>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>body</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>ansi</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>ecma</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>ieee</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>iso</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>iso/iet</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>itu</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>iec</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>ietf</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>oasis</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>omg</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>wsa</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>w3c</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>status</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>unknown</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>draft</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>candidate</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>proposed</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>approved</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>revised</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>obsolete</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>withdrawn</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>collection</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>trial</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>errata</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>report</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>previous</nonterminal>
<xns1:expression>
<sequence>
<xns1:expression>
<selectable>
<selector>title</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>version</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>edition</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
</choice>
</xns1:expression>
<xns1:expression>
<optional>
<xns1:expression>
<selectable>
<selector>uri</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
</optional>
</xns1:expression>
</sequence>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>part</nonterminal>
<xns1:expression>
<sequence>
<xns1:expression>
<selectable>
<selector>role</selector>
<xns1:expression>
<nonterminal>part-role</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<nonterminal>metainfo</nonterminal>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>content</selector>
<xns1:expression>
<plus>
<xns1:expression>
<nonterminal>section</nonterminal>
</xns1:expression>
</plus>
</xns1:expression>
</selectable>
</xns1:expression>
</sequence>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>metainfo</nonterminal>
<xns1:expression>
<sequence>
<xns1:expression>
<optional>
<xns1:expression>
<selectable>
<selector>id</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
</optional>
</xns1:expression>
<xns1:expression>
<optional>
<xns1:expression>
<selectable>
<selector>title</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
</optional>
</xns1:expression>
<xns1:expression>
<star>
<xns1:expression>
<selectable>
<selector>author</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
</star>
</xns1:expression>
</sequence>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>part-role</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>front-matter</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>core-part</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>back-matter</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>annex</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>section</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<nonterminal>placeholder</nonterminal>
</xns1:expression>
<xns1:expression>
<nonterminal>simple-section</nonterminal>
</xns1:expression>
<xns1:expression>
<nonterminal>lexical-section</nonterminal>
</xns1:expression>
<xns1:expression>
<nonterminal>structured-section</nonterminal>
</xns1:expression>
<xns1:expression>
<nonterminal>composite-section</nonterminal>
</xns1:expression>
<xns1:expression>
<nonterminal>list-section</nonterminal>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>composite-section</nonterminal>
<xns1:expression>
<plus>
<xns1:expression>
<nonterminal>section</nonterminal>
</xns1:expression>
</plus>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>placeholder</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>index</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>full-grammar</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>list-of-tables</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>list-of-authors</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>list-of-contents</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>list-of-references</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>simple-section</nonterminal>
<xns1:expression>
<sequence>
<xns1:expression>
<selectable>
<selector>role</selector>
<xns1:expression>
<nonterminal>simple-section-role</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<nonterminal>metainfo</nonterminal>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>content</selector>
<xns1:expression>
<nonterminal>textual-content</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
</sequence>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>simple-section-role</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>abstract</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>conformance</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>compatibility</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>design-goals</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>document-structure</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>foreword</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>normative-references</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>notation</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>scope</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>what-is-new</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>lexical-section</nonterminal>
<xns1:expression>
<sequence>
<xns1:expression>
<selectable>
<selector>role</selector>
<xns1:expression>
<nonterminal>lexical-section-role</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<nonterminal>metainfo</nonterminal>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>content</selector>
<xns1:expression>
<nonterminal>textual-content</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
</sequence>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>lexical-section-role</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>lexical-issue</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>line-continuations</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>literals</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>preprocessor</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>tokens</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>whitespace</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>list-section</nonterminal>
<xns1:expression>
<sequence>
<xns1:expression>
<selectable>
<selector>role</selector>
<xns1:expression>
<nonterminal>list-section-role</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<nonterminal>metainfo</nonterminal>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>content</selector>
<xns1:expression>
<plus>
<xns1:expression>
<nonterminal>term</nonterminal>
</xns1:expression>
</plus>
</xns1:expression>
</selectable>
</xns1:expression>
</sequence>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>list-section-role</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>abbreviations</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>definitions</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>language-overview</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>normative-references</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>term</nonterminal>
<xns1:expression>
<sequence>
<xns1:expression>
<selectable>
<selector>name</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>definition</selector>
<xns1:expression>
<nonterminal>textual-content</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
</sequence>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>structured-section</nonterminal>
<xns1:expression>
<sequence>
<xns1:expression>
<nonterminal>metainfo</nonterminal>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>content</selector>
<xns1:expression>
<plus>
<xns1:expression>
<nonterminal>structured-section-element</nonterminal>
</xns1:expression>
</plus>
</xns1:expression>
</selectable>
</xns1:expression>
</sequence>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>structured-section-element</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>subtopic</selector>
<xns1:expression>
<nonterminal>structured-section</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>references</selector>
<xns1:expression>
<nonterminal>list</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<nonterminal>placeholder</nonterminal>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>value</selector>
<xns1:expression>
<sequence>
<xns1:expression>
<selectable>
<selector>key</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>data</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
</sequence>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<sequence>
<xns1:expression>
<optional>
<xns1:expression>
<choice>
<xns1:expression>
<nonterminal>normative-role</nonterminal>
</xns1:expression>
<xns1:expression>
<nonterminal>informative-role</nonterminal>
</xns1:expression>
</choice>
</xns1:expression>
</optional>
</xns1:expression>
<xns1:expression>
<nonterminal>simple-section</nonterminal>
</xns1:expression>
</sequence>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>normative-role</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>synopsis</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>description</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>syntax</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>constraints</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>relationship</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>semantics</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>default</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>informative-role</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>example</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>rationale</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>update</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>textual-content</nonterminal>
<xns1:expression>
<plus>
<xns1:expression>
<nonterminal>text-element</nonterminal>
</xns1:expression>
</plus>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>text-element</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>empty</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>code</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>text</selector>
<xns1:expression>
<nonterminal>mixed-type</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<nonterminal>figure</nonterminal>
</xns1:expression>
<xns1:expression>
<nonterminal>table</nonterminal>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>list</selector>
<xns1:expression>
<nonterminal>list</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>formula</selector>
<xns1:expression>
<plus>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>math</selector>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>mfenced</selector>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>mtext</selector>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>msub</selector>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>msup</selector>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>mrow</selector>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>mi</selector>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>mo</selector>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>varepsilon</selector>
<xns1:expression>
<any/>
</xns1:expression>
</selectable>
</xns1:expression>
</choice>
</xns1:expression>
</plus>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>sample</selector>
<xns1:expression>
<sequence>
<xns1:expression>
<star>
<xns1:expression>
<choice>
<xns1:expression>
<any/>
</xns1:expression>
<xns1:expression>
<value>string</value>
</xns1:expression>
</choice>
</xns1:expression>
</star>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>source</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
</sequence>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<nonterminal>production</nonterminal>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>figure</nonterminal>
<xns1:expression>
<sequence>
<xns1:expression>
<nonterminal>metainfo</nonterminal>
</xns1:expression>
<xns1:expression>
<plus>
<xns1:expression>
<selectable>
<selector>source</selector>
<xns1:expression>
<nonterminal>figure-source</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
</plus>
</xns1:expression>
</sequence>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>figure-source</nonterminal>
<xns1:expression>
<sequence>
<xns1:expression>
<selectable>
<selector>type</selector>
<xns1:expression>
<nonterminal>figure-type</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>local-file</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>uri</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
</choice>
</xns1:expression>
</sequence>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>figure-type</nonterminal>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>PDF</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>PostScript</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>SVG</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>PNG</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>GIF</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>JPEG</selector>
<xns1:expression>
<epsilon/>
</xns1:expression>
</selectable>
</xns1:expression>
</choice>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>table</nonterminal>
<xns1:expression>
<sequence>
<xns1:expression>
<star>
<xns1:expression>
<selectable>
<selector>header</selector>
<xns1:expression>
<nonterminal>table-row</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
</star>
</xns1:expression>
<xns1:expression>
<plus>
<xns1:expression>
<selectable>
<selector>row</selector>
<xns1:expression>
<nonterminal>table-row</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
</plus>
</xns1:expression>
</sequence>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>table-row</nonterminal>
<xns1:expression>
<plus>
<xns1:expression>
<selectable>
<selector>table-cell</selector>
<xns1:expression>
<nonterminal>textual-content</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
</plus>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>list</nonterminal>
<xns1:expression>
<plus>
<xns1:expression>
<selectable>
<selector>item</selector>
<xns1:expression>
<nonterminal>mixed-type</nonterminal>
</xns1:expression>
</selectable>
</xns1:expression>
</plus>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>mixed-type</nonterminal>
<xns1:expression>
<star>
<xns1:expression>
<choice>
<xns1:expression>
<any/>
</xns1:expression>
<xns1:expression>
<value>string</value>
</xns1:expression>
</choice>
</xns1:expression>
</star>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>formula</nonterminal>
<xns1:expression>
<plus>
<xns1:expression>
<any/>
</xns1:expression>
</plus>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>keyword</nonterminal>
<xns1:expression>
<value>string</value>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>code</nonterminal>
<xns1:expression>
<value>string</value>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>link</nonterminal>
<xns1:expression>
<sequence>
<xns1:expression>
<optional>
<xns1:expression>
<selectable>
<selector>text</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
</optional>
</xns1:expression>
<xns1:expression>
<choice>
<xns1:expression>
<selectable>
<selector>reference</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
<xns1:expression>
<selectable>
<selector>external</selector>
<xns1:expression>
<value>string</value>
</xns1:expression>
</selectable>
</xns1:expression>
</choice>
</xns1:expression>
</sequence>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>math</nonterminal>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>mfenced</nonterminal>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>mtext</nonterminal>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>msub</nonterminal>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>msup</nonterminal>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>mrow</nonterminal>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>mi</nonterminal>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>mo</nonterminal>
<xns1:expression>
<nonterminal>anyMath</nonterminal>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>varepsilon</nonterminal>
<xns1:expression>
<epsilon/>
</xns1:expression>
</xns1:production>
<xns1:production>
<nonterminal>anyMath</nonterminal>
<xns1:expression>
<star>
<xns1:expression>
<choice>
<xns1:expression>
<any/>
</xns1:expression>
<xns1:expression>
<value>string</value>
</xns1:expression>
</choice>
</xns1:expression>
</star>
</xns1:expression>
</xns1:production>
</xns1:grammar>