Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: xmlware/xslt/rosendal/extracted
Source used for this grammar: Peter Rosendal, XSLT 1.1, XSLT.ecore
, 2005/06/13 [Atlantic]
Boolean
, Integer
, String
, Node
, ElementNode
, AttributeNode
, RootNode
, TextNode
, XSLTNode
, XSLTRootNode
, Document
, ApplyTemplates
, If
, Template
, ValueOf
, When
, Choose
, Otherwise
, Sort
), 0 root (—), 2 top (Boolean
, Integer
), 0 bottom (—).[nodes]
, [name]
, [parentNode]
, [document]
3, [value]
, [documentName]
, [select]
3, [test]
2, [match]
, [when]
, [otherwise]
.Boolean ::= "true" "false"
Integer ::= integer
String ::= string
Node ::= ElementNode
Node ::= AttributeNode
ElementNode ::= RootNode
ElementNode ::= TextNode
ElementNode ::= XSLTNode
ElementNode ::=
[nodes]::Node
AttributeNode ::= [name]::String [parentNode]::ElementNode
RootNode ::= XSLTRootNode
RootNode ::= [document]::Document
TextNode ::= [value]::String
XSLTNode ::= ApplyTemplates
XSLTNode ::= If
XSLTNode ::= Template
XSLTNode ::= ValueOf
XSLTNode ::= When
XSLTNode ::= Choose
XSLTNode ::= Otherwise
XSLTNode ::= Sort
XSLTRootNode ::= [document]::Document
Document ::= [documentName]::String [document]::RootNode
ApplyTemplates ::= [select]::String
If ::= [test]::String
Template ::= [match]::String
ValueOf ::= [select]::String
When ::= [test]::String
Choose ::= [when]::When [otherwise]::Otherwise
Otherwise ::= ε
Sort ::= [select]::String