I should just sit back and watch for answers from the experts here, but I'll
see how close I can get to an answer to the question.
I suppose the grammar of XSLT would be the same as the grammar of XML, since
XSLT is expressed in XML, but perhaps there is more to it than that. The
pointers below refer to XSLT 2.0.
There is an element syntax description that describes some of the semantics
of XSLT.
http://www.w3.org/TR/xslt20/#element-syntax-summary
There is a grammar for XPATH.
http://www.w3.org/2002/11/xquery-xpath-applets/xpath-bnf.html
You could always study the code for something like Saxon or Xalan. I assume
the equivalent of the "grammar production rules" would be built in to those
products.
I'm curious how you want to apply the grammar. Are you writing a tool, or
just learning XSLT from the bottom up?
Randy Oxentenko
-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of
Fatih TURKMEN
Sent: Monday, May 12, 2003 9:20 AM
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] XSLT Language Grammar
I just wonder if I can find the language
grammar(productions) of XSLT language
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list