Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
271 lines (270 sloc) 6.83 KB
<?xml version="1.0"?>
<xbgf:sequence xmlns:bgf="http://planet-sl.org/bgf" xmlns:xbgf="http://planet-sl.org/xbgf">
<xbgf:extract>
<bgf:production>
<nonterminal>document-metadata</nonterminal>
<bgf:expression>
<sequence>
<bgf:expression>
<optional>
<bgf:expression>
<selectable>
<selector>body</selector>
<bgf:expression>
<nonterminal>body</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
</optional>
</bgf:expression>
<bgf:expression>
<optional>
<bgf:expression>
<selectable>
<selector>number</selector>
<bgf:expression>
<value>string</value>
</bgf:expression>
</selectable>
</bgf:expression>
</optional>
</bgf:expression>
<bgf:expression>
<star>
<bgf:expression>
<selectable>
<selector>author</selector>
<bgf:expression>
<nonterminal>person</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
</star>
</bgf:expression>
<bgf:expression>
<selectable>
<selector>topic</selector>
<bgf:expression>
<value>string</value>
</bgf:expression>
</selectable>
</bgf:expression>
<bgf:expression>
<selectable>
<selector>status</selector>
<bgf:expression>
<nonterminal>status</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
<bgf:expression>
<nonterminal>version-or-edition</nonterminal>
</bgf:expression>
<bgf:expression>
<star>
<bgf:expression>
<selectable>
<selector>previous</selector>
<bgf:expression>
<nonterminal>named-link</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
</star>
</bgf:expression>
<bgf:expression>
<selectable>
<selector>date</selector>
<bgf:expression>
<nonterminal>timestamp</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
</sequence>
</bgf:expression>
</bgf:production>
</xbgf:extract>
<xbgf:extract>
<bgf:production>
<nonterminal>part-metadata</nonterminal>
<bgf:expression>
<sequence>
<bgf:expression>
<optional>
<bgf:expression>
<selectable>
<selector>id</selector>
<bgf:expression>
<nonterminal>ID</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
</optional>
</bgf:expression>
<bgf:expression>
<selectable>
<selector>role</selector>
<bgf:expression>
<nonterminal>part-role</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
<bgf:expression>
<optional>
<bgf:expression>
<selectable>
<selector>title</selector>
<bgf:expression>
<value>string</value>
</bgf:expression>
</selectable>
</bgf:expression>
</optional>
</bgf:expression>
<bgf:expression>
<star>
<bgf:expression>
<selectable>
<selector>author</selector>
<bgf:expression>
<nonterminal>person</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
</star>
</bgf:expression>
</sequence>
</bgf:expression>
</bgf:production>
</xbgf:extract>
<xbgf:extract>
<bgf:production>
<nonterminal>section-metadata</nonterminal>
<bgf:expression>
<sequence>
<bgf:expression>
<optional>
<bgf:expression>
<selectable>
<selector>id</selector>
<bgf:expression>
<nonterminal>ID</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
</optional>
</bgf:expression>
<bgf:expression>
<selectable>
<selector>role</selector>
<bgf:expression>
<nonterminal>section-role</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
<bgf:expression>
<optional>
<bgf:expression>
<selectable>
<selector>type</selector>
<bgf:expression>
<nonterminal>type</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
</optional>
</bgf:expression>
<bgf:expression>
<optional>
<bgf:expression>
<selectable>
<selector>title</selector>
<bgf:expression>
<value>string</value>
</bgf:expression>
</selectable>
</bgf:expression>
</optional>
</bgf:expression>
<bgf:expression>
<star>
<bgf:expression>
<selectable>
<selector>author</selector>
<bgf:expression>
<nonterminal>person</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
</star>
</bgf:expression>
</sequence>
</bgf:expression>
</bgf:production>
</xbgf:extract>
<xbgf:extract>
<bgf:production>
<nonterminal>subsection-metadata</nonterminal>
<bgf:expression>
<sequence>
<bgf:expression>
<optional>
<bgf:expression>
<selectable>
<selector>id</selector>
<bgf:expression>
<nonterminal>ID</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
</optional>
</bgf:expression>
<bgf:expression>
<selectable>
<selector>role</selector>
<bgf:expression>
<nonterminal>subsection-role</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
<bgf:expression>
<optional>
<bgf:expression>
<selectable>
<selector>type</selector>
<bgf:expression>
<nonterminal>type</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
</optional>
</bgf:expression>
<bgf:expression>
<optional>
<bgf:expression>
<selectable>
<selector>title</selector>
<bgf:expression>
<value>string</value>
</bgf:expression>
</selectable>
</bgf:expression>
</optional>
</bgf:expression>
<bgf:expression>
<star>
<bgf:expression>
<selectable>
<selector>author</selector>
<bgf:expression>
<nonterminal>person</nonterminal>
</bgf:expression>
</selectable>
</bgf:expression>
</star>
</bgf:expression>
</sequence>
</bgf:expression>
</bgf:production>
</xbgf:extract>
</xbgf:sequence>