From 9fb1f8d8f7afee9fb852c901bd17821282d9e328 Mon Sep 17 00:00:00 2001 From: Wojciech Polak Date: Mon, 24 Sep 2007 19:30:49 +0000 Subject: [PATCH] Transform XML into plain text. --- data/xslt/xml2text.xsl | 432 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 432 insertions(+) create mode 100644 data/xslt/xml2text.xsl 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 + + + + + + + + + + + -- 2.47.2