From: Wojciech Polak Date: Mon, 24 Sep 2007 19:30:49 +0000 (+0000) Subject: Transform XML into plain text. X-Git-Tag: v2.3b~96 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/9fb1f8d8f7afee9fb852c901bd17821282d9e328 Transform XML into plain text. --- diff --git a/data/xslt/xml2text.xsl b/data/xslt/xml2text.xsl new file mode 100644 index 00000000..7ec9edc8 --- /dev/null +++ b/data/xslt/xml2text.xsl @@ -0,0 +1,432 @@ + + + + + + + + + + + + + + + + + + + + + + + Rules never reduced + + + + + + + + + + + + + + + + Useless nonterminals + + + + + + + + + + + + Useless rules + + + + + + + + + + Terminals which are not used + + + + + + + + + + + + + + + + + + State + + conflicts: + + + + + + + + Grammar + + + + + + + + + + Terminals, with rules where they appear + + + + + + Nonterminals, with rules where they appear + + + + + + + + + + + + + + + + + + + + + on left: + + + + , + + + on right: + + + + + + + + + + + + + + + + + + + + state + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + : + + + + + + + + + + + + + + . + + + + /* empty */ + + + + [ + + ] + + + + + + , + + + + + + + + + + + + + shift, and go to state + + + + go to state + + + + + + + + + + + + + + error + ( + + ) + + + + + + + + + + + + [ + + + + accept + + + reduce using rule + + ( + + ) + + + + ] + + + + + + + + + + + + + Conflict between rule + + and token + + resolved as + + an + + + ( + + ). + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + +