ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
HFile_xsl.php
Go to the documentation of this file.
1 <?php
2 $BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
3 if (!isset ($BEAUT_PATH)) return;
4 require_once("$BEAUT_PATH/Beautifier/HFile.php");
5  class HFile_xsl extends HFile{
6  function HFile_xsl(){
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // XSL
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "1";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "purple", "gray", "blue", "brown");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array();
28 $this->unindent = array();
29 
30 // String characters and delimiters
31 
32 $this->stringchars = array();
33 $this->delimiters = array("~", "!", "@", "$", "%", "^", "&", "*", "(", ")", "+", "=", "|", "\\", "{", "}", "[", "]", ";", "\"", "'", "<", ">", " ", ",", " ", ".");
34 $this->escchar = "";
35 
36 // Comment settings
37 
38 $this->linecommenton = array("");
39 $this->blockcommenton = array("<!--");
40 $this->blockcommentoff = array("-->");
41 
42 // Keywords (keyword mapping to colour number)
43 
44 $this->keywords = array(
45  "<a>" => "1",
46  "<a" => "1",
47  "</a>" => "1",
48  "<abbr>" => "1",
49  "<abbr" => "1",
50  "</abbr>" => "1",
51  "<above>" => "1",
52  "<acronym>" => "1",
53  "<acronym" => "1",
54  "</acronym>" => "1",
55  "<address>" => "1",
56  "<address" => "1",
57  "</address>" => "1",
58  "<area" => "1",
59  "<b>" => "1",
60  "<b" => "1",
61  "</b>" => "1",
62  "<base" => "1",
63  "<bdo>" => "1",
64  "<bdo" => "1",
65  "</bdo>" => "1",
66  "<big>" => "1",
67  "<big" => "1",
68  "</big>" => "1",
69  "<blockquote>" => "1",
70  "<blockquote" => "1",
71  "</blockquote>" => "1",
72  "<body" => "1",
73  "<body>" => "1",
74  "</body>" => "1",
75  "<br" => "1",
76  "<button>" => "1",
77  "</button>" => "1",
78  "<caption>" => "1",
79  "<caption" => "1",
80  "</caption>" => "1",
81  "<cite>" => "1",
82  "<cite" => "1",
83  "</cite>" => "1",
84  "<code>" => "1",
85  "<code" => "1",
86  "</code>" => "1",
87  "<col" => "1",
88  "<colgroup>" => "1",
89  "</colgroup>" => "1",
90  "<dd>" => "1",
91  "<dd" => "1",
92  "</dd>" => "1",
93  "<del>" => "1",
94  "<del" => "1",
95  "</del>" => "1",
96  "<dfn>" => "1",
97  "<dfn" => "1",
98  "</dfn>" => "1",
99  "<div>" => "1",
100  "<div" => "1",
101  "</div>" => "1",
102  "<dl>" => "1",
103  "<dl" => "1",
104  "</dl>" => "1",
105  "<dt>" => "1",
106  "<dt" => "1",
107  "</dt>" => "1",
108  "<em>" => "1",
109  "<em" => "1",
110  "</em>" => "1",
111  "<fieldset>" => "1",
112  "<fieldset" => "1",
113  "</fieldset>" => "1",
114  "<font" => "1",
115  "</font>" => "1",
116  "<form>" => "1",
117  "<form" => "1",
118  "</form>" => "1",
119  "<frame" => "1",
120  "<frameset" => "1",
121  "</frameset>" => "1",
122  "<h1>" => "1",
123  "<h1" => "1",
124  "</h1>" => "1",
125  "<h2>" => "1",
126  "<h2" => "1",
127  "</h2>" => "1",
128  "<h3>" => "1",
129  "<h3" => "1",
130  "</h3>" => "1",
131  "<h4>" => "1",
132  "<h4" => "1",
133  "</h4>" => "1",
134  "<h5>" => "1",
135  "<h5" => "1",
136  "</h5>" => "1",
137  "<h6>" => "1",
138  "<h6" => "1",
139  "</h6>" => "1",
140  "<head>" => "1",
141  "<head" => "1",
142  "</head>" => "1",
143  "<hr" => "1",
144  "<html>" => "1",
145  "<html" => "1",
146  "</html>" => "1",
147  "<i>" => "1",
148  "<i" => "1",
149  "</i>" => "1",
150  "<iframe>" => "1",
151  "</iframe>" => "1",
152  "<ilayer>" => "1",
153  "</ilayer>" => "1",
154  "<img" => "1",
155  "<input" => "1",
156  "<ins>" => "1",
157  "<ins" => "1",
158  "</ins>" => "1",
159  "<isindex" => "1",
160  "<kbd>" => "1",
161  "<kbd" => "1",
162  "</kbd>" => "1",
163  "<label>" => "1",
164  "<label" => "1",
165  "</label>" => "1",
166  "<legend>" => "1",
167  "<legend" => "1",
168  "</legend>" => "1",
169  "<li>" => "1",
170  "<li" => "1",
171  "</li>" => "1",
172  "<link" => "1",
173  "<map" => "1",
174  "</map>" => "1",
175  "<meta" => "1",
176  "<noframes>" => "1",
177  "</noframes>" => "1",
178  "<noscript>" => "1",
179  "</noscript>" => "1",
180  "<object>" => "1",
181  "<object" => "1",
182  "<ol>" => "1",
183  "<ol" => "1",
184  "</ol>" => "1",
185  "<optgroup>" => "1",
186  "<optgroup" => "1",
187  "</optgroup>" => "1",
188  "<option>" => "1",
189  "<option" => "1",
190  "</option>" => "1",
191  "<p" => "1",
192  "<p>" => "1",
193  "</p>" => "1",
194  "<param" => "1",
195  "<pre>" => "1",
196  "<pre" => "1",
197  "</pre>" => "1",
198  "<q>" => "1",
199  "<q" => "1",
200  "</q>" => "1",
201  "<samp>" => "1",
202  "<samp" => "1",
203  "</samp>" => "1",
204  "<script" => "1",
205  "<script>" => "1",
206  "</script>" => "1",
207  "<select" => "1",
208  "</select>" => "1",
209  "<small>" => "1",
210  "<small" => "1",
211  "</small>" => "1",
212  "<span>" => "1",
213  "<span" => "1",
214  "</span>" => "1",
215  "<strong>" => "1",
216  "<strong" => "1",
217  "</strong>" => "1",
218  "<style>" => "1",
219  "<style" => "1",
220  "</style>" => "1",
221  "<sub>" => "1",
222  "<sub" => "1",
223  "</sub>" => "1",
224  "<sup>" => "1",
225  "<sup" => "1",
226  "</sup>" => "1",
227  "<table>" => "1",
228  "<table" => "1",
229  "</table>" => "1",
230  "<tbody>" => "1",
231  "<tbody" => "1",
232  "</tbody>" => "1",
233  "<td" => "1",
234  "<td>" => "1",
235  "</td>" => "1",
236  "<textarea" => "1",
237  "<textarea>" => "1",
238  "</textarea>" => "1",
239  "<tfoot>" => "1",
240  "<tfoot" => "1",
241  "</tfoot>" => "1",
242  "<th" => "1",
243  "<th>" => "1",
244  "</th>" => "1",
245  "<thead>" => "1",
246  "<thead" => "1",
247  "</thead>" => "1",
248  "<title>" => "1",
249  "</title>" => "1",
250  "<tr" => "1",
251  "<tr>" => "1",
252  "</tr>" => "1",
253  "<tt>" => "1",
254  "</tt>" => "1",
255  "<tt" => "1",
256  "<ul>" => "1",
257  "<ul" => "1",
258  "</ul>" => "1",
259  "<var>" => "1",
260  "</var>" => "1",
261  "<var" => "1",
262  "//" => "1",
263  "/>" => "1",
264  ">" => "1",
265  "NaN" => "2",
266  "abbr" => "2",
267  "accept" => "2",
268  "accept-charset" => "2",
269  "accesskey" => "2",
270  "action" => "2",
271  "align" => "2",
272  "alink" => "2",
273  "alt" => "2",
274  "archive" => "2",
275  "axis" => "2",
276  "background" => "3",
277  "behavior" => "2",
278  "below" => "5",
279  "bgcolor" => "2",
280  "border" => "3",
281  "case-order" => "2",
282  "cdata-section-elements" => "2",
283  "cellpadding" => "2",
284  "cellspacing" => "2",
285  "char" => "2",
286  "charoff" => "2",
287  "charset" => "2",
288  "checked" => "2",
289  "cite" => "2",
290  "class" => "2",
291  "classid" => "2",
292  "clear" => "3",
293  "code" => "5",
294  "codebase" => "2",
295  "codetype" => "2",
296  "color" => "3",
297  "cols" => "2",
298  "colspan" => "2",
299  "compact" => "2",
300  "content" => "2",
301  "coords" => "2",
302  "count" => "2",
303  "data" => "2",
304  "data-type" => "2",
305  "datetime" => "2",
306  "decimal-separator" => "2",
307  "declare" => "2",
308  "defer" => "2",
309  "digit" => "2",
310  "dir" => "2",
311  "disable-output-escaping" => "2",
312  "disabled" => "2",
313  "doctype-public" => "2",
314  "doctype-system" => "2",
315  "elements" => "2",
316  "encoding" => "2",
317  "enctype" => "2",
318  "exclude-result-prefixes" => "2",
319  "extension-element-prefixes" => "2",
320  "face" => "2",
321  "for" => "2",
322  "format" => "3",
323  "frame" => "2",
324  "frameborder" => "2",
325  "framespacing" => "2",
326  "from" => "2",
327  "grouping-separator" => "3",
328  "grouping-size" => "3",
329  "headers" => "2",
330  "height" => "3",
331  "hidden" => "5",
332  "href" => "3",
333  "hreflang" => "2",
334  "hspace" => "2",
335  "http-equiv" => "2",
336  "id" => "3",
337  "indent" => "2",
338  "infinity" => "2",
339  "ismap" => "2",
340  "label" => "2",
341  "lang" => "2",
342  "language" => "3",
343  "letter-value" => "3",
344  "level" => "5",
345  "link" => "2",
346  "longdesc" => "2",
347  "loop" => "2",
348  "mailto" => "2",
349  "marginheight" => "2",
350  "marginwidth" => "2",
351  "match" => "2",
352  "maxlength" => "2",
353  "media" => "2",
354  "media-type" => "2",
355  "method" => "2",
356  "minus-sign" => "2",
357  "mode" => "2",
358  "multiple" => "2",
359  "name" => "2",
360  "namespace" => "2",
361  "nohref" => "2",
362  "noresize" => "2",
363  "noshade" => "2",
364  "object" => "2",
365  "omit-xml-declaration" => "2",
366  "onblur" => "2",
367  "onchange" => "2",
368  "onclick" => "2",
369  "ondblclick" => "2",
370  "onfocus" => "2",
371  "onkeydown" => "2",
372  "onkeypress" => "2",
373  "onkeyup" => "2",
374  "onload" => "2",
375  "onmousedown" => "2",
376  "onmousemove" => "2",
377  "onmouseout" => "2",
378  "onmouseover" => "2",
379  "onmouseup" => "2",
380  "onreset" => "2",
381  "onselect" => "2",
382  "onsubmit" => "2",
383  "onunload" => "2",
384  "order" => "2",
385  "pattern-separator" => "2",
386  "per-mille" => "2",
387  "percent" => "2",
388  "priority" => "2",
389  "profile" => "2",
390  "prompt" => "2",
391  "readonly" => "2",
392  "rel" => "2",
393  "result-prefix" => "2",
394  "rev" => "2",
395  "rows" => "2",
396  "rowspan" => "2",
397  "rules" => "2",
398  "scheme" => "2",
399  "scope" => "2",
400  "scrolling" => "2",
401  "select" => "2",
402  "selected" => "2",
403  "shape" => "2",
404  "size" => "3",
405  "span" => "3",
406  "src" => "2",
407  "standalone" => "2",
408  "standby" => "2",
409  "start" => "5",
410  "style" => "2",
411  "stylesheet-prefix" => "2",
412  "summary" => "2",
413  "tabindex" => "2",
414  "target" => "2",
415  "terminate" => "2",
416  "test" => "2",
417  "text" => "2",
418  "title" => "2",
419  "topmargin" => "2",
420  "type" => "2",
421  "url" => "2",
422  "use" => "2",
423  "use-attribute-sets" => "2",
424  "usemap" => "2",
425  "valign" => "2",
426  "value" => "2",
427  "valuetype" => "2",
428  "version" => "2",
429  "vlink" => "2",
430  "vspace" => "2",
431  "width" => "3",
432  "xmlns:fo" => "2",
433  "xmlns:xsl" => "2",
434  "zero-digit" => "2",
435  "=" => "2",
436  "apply-word-spacing" => "3",
437  "auto-restore" => "3",
438  "azimuth" => "3",
439  "background-attachment" => "3",
440  "background-color" => "3",
441  "background-image" => "3",
442  "background-position" => "3",
443  "background-repeat" => "3",
444  "baseline-shift" => "3",
445  "blank-page" => "3",
446  "block-progression-dimension" => "3",
447  "border-after-color" => "3",
448  "border-after-style" => "3",
449  "border-after-width" => "3",
450  "border-before-color" => "3",
451  "border-before-style" => "3",
452  "border-before-width" => "3",
453  "border-bottom" => "3",
454  "border-bottom-color" => "3",
455  "border-bottom-style" => "3",
456  "border-bottom-width" => "3",
457  "border-collapse" => "3",
458  "border-color" => "3",
459  "border-end-color" => "3",
460  "border-end-style" => "3",
461  "border-end-width" => "3",
462  "border-left" => "3",
463  "border-left-color" => "3",
464  "border-left-style" => "3",
465  "border-left-width" => "3",
466  "border-right" => "3",
467  "border-right-color" => "3",
468  "border-right-style" => "3",
469  "border-right-width" => "3",
470  "border-spacing" => "3",
471  "border-start-color" => "3",
472  "border-start-style" => "3",
473  "border-start-width" => "3",
474  "border-style" => "3",
475  "border-top" => "3",
476  "border-top-color" => "3",
477  "border-top-style" => "3",
478  "border-top-width" => "3",
479  "border-width" => "3",
480  "bottom" => "5",
481  "break-after" => "3",
482  "break-before" => "3",
483  "caption-side" => "3",
484  "case-name" => "3",
485  "case-title" => "3",
486  "character" => "3",
487  "clip" => "3",
488  "column-count" => "3",
489  "column-gap" => "3",
490  "column-number" => "3",
491  "column-width" => "3",
492  "country" => "3",
493  "cue" => "3",
494  "cue-after" => "3",
495  "cue-before" => "3",
496  "destination-placement-offset" => "3",
497  "direction" => "3",
498  "dom-state" => "3",
499  "elevation" => "3",
500  "empty-cells" => "3",
501  "end-indent" => "3",
502  "ends-row" => "3",
503  "extent" => "3",
504  "external-destination" => "3",
505  "float" => "3",
506  "flow-name" => "3",
507  "font" => "3",
508  "font-family" => "3",
509  "font-height-override-after" => "3",
510  "font-height-override-before" => "3",
511  "font-size" => "3",
512  "font-size-adjust" => "3",
513  "font-stretch" => "3",
514  "font-style" => "3",
515  "font-variant" => "3",
516  "font-weight" => "3",
517  "force-page-count" => "3",
518  "glyph-orientation-horizontal" => "3",
519  "glyph-orientation-vertical" => "3",
520  "hyphenate" => "3",
521  "hyphenation-character" => "3",
522  "hyphenation-keep" => "3",
523  "hyphenation-ladder-count" => "3",
524  "hyphenation-push-character-count" => "3",
525  "hyphenation-remain-character-count" => "3",
526  "indicate-destination" => "3",
527  "inhibit-line-breaks" => "3",
528  "initial-page-number" => "3",
529  "inline-progression-dimension" => "3",
530  "internal-destination" => "3",
531  "keep" => "3",
532  "keep-with-next" => "3",
533  "keep-with-previous" => "3",
534  "last-line-end-indent" => "3",
535  "leader-alignment" => "3",
536  "leader-length" => "3",
537  "leader-pattern" => "3",
538  "leader-pattern-width" => "3",
539  "left" => "5",
540  "letter-spacing" => "3",
541  "linefeed-treatment" => "3",
542  "line-height" => "5",
543  "line-height-shift-adjustment" => "3",
544  "line-stacking-strategy" => "3",
545  "margin" => "3",
546  "margin-bottom" => "3",
547  "margin-left" => "3",
548  "margin-right" => "3",
549  "margin-top" => "3",
550  "master-name" => "3",
551  "max-height" => "5",
552  "maximum-block-progression-dimension" => "3",
553  "maximum-inline-progression-dimension" => "3",
554  "maximum-repeats" => "3",
555  "max-width" => "3",
556  "may-break-after-row" => "3",
557  "may-break-before-row" => "3",
558  "min-height" => "3",
559  "minimum-block-progression-dimension" => "3",
560  "minimum-inline-progression-dimension" => "3",
561  "min-width" => "3",
562  "number-columns-repeated" => "3",
563  "number-columns-spanned" => "3",
564  "number-rows-spanned" => "3",
565  "odd-or-even" => "3",
566  "orphans" => "3",
567  "overflow" => "3",
568  "padding" => "3",
569  "padding-after" => "3",
570  "padding-before" => "3",
571  "padding-bottom" => "3",
572  "padding-end" => "3",
573  "padding-left" => "3",
574  "padding-right" => "3",
575  "padding-start" => "3",
576  "padding-top" => "3",
577  "page-break-after" => "3",
578  "page-break-before" => "3",
579  "page-break-inside" => "3",
580  "page-height" => "3",
581  "page-position" => "3",
582  "page-width" => "3",
583  "pause" => "3",
584  "pause-after" => "3",
585  "pause-before" => "3",
586  "pitch" => "3",
587  "pitch-range" => "3",
588  "play-during" => "3",
589  "position" => "3",
590  "precedence" => "3",
591  "provisional-distance-between-starts" => "3",
592  "provisional-label-separation" => "3",
593  "reference-orientation" => "3",
594  "ref-id" => "3",
595  "region-name" => "3",
596  "richness" => "3",
597  "right" => "5",
598  "role" => "3",
599  "rule-style" => "3",
600  "rule-thickness" => "3",
601  "scale" => "3",
602  "score-spaces" => "3",
603  "script" => "3",
604  "show-destination" => "3",
605  "source-document" => "3",
606  "space-after" => "3",
607  "space-before" => "3",
608  "space-end" => "3",
609  "space-start" => "3",
610  "space-treatment" => "3",
611  "speak" => "3",
612  "speak-header" => "3",
613  "speak-numeral" => "3",
614  "speak-punctuation" => "3",
615  "speech-rate" => "3",
616  "start-indent" => "3",
617  "starting-state" => "3",
618  "starts-row" => "3",
619  "stress" => "3",
620  "suppress-at-eol" => "3",
621  "switch-to" => "3",
622  "table-layout" => "3",
623  "table-omit-footer-at-break" => "3",
624  "table-omit-header-at-break" => "3",
625  "text-align" => "3",
626  "text-align-last" => "3",
627  "text-decoration" => "3",
628  "text-indent" => "3",
629  "text-shadow" => "3",
630  "text-transform" => "3",
631  "top" => "5",
632  "unicode-bidi" => "3",
633  "vertical-align" => "3",
634  "visibility" => "3",
635  "voice-family" => "3",
636  "volume" => "3",
637  "white-space" => "3",
638  "white-space-collapse" => "3",
639  "white-space-treatment" => "3",
640  "widows" => "3",
641  "word-spacing" => "3",
642  "wrap-option" => "3",
643  "writing-mode" => "3",
644  "xmllang" => "3",
645  "z-index" => "3",
646  "<fo:bidi-override>" => "4",
647  "<fo:bidi-override" => "4",
648  "</fo:bidi-override>" => "4",
649  "<fo:block>" => "4",
650  "<fo:block" => "4",
651  "</fo:block>" => "4",
652  "<fo:block-container>" => "4",
653  "<fo:block-container" => "4",
654  "</fo:block-container>" => "4",
655  "<fo:character>" => "4",
656  "<fo:character" => "4",
657  "</fo:character>" => "4",
658  "<fo:conditional-page-master-reference>" => "4",
659  "<fo:conditional-page-master-reference" => "4",
660  "</fo:conditional-page-master-reference>" => "4",
661  "<fo:external-graphic>" => "4",
662  "<fo:external-graphic" => "4",
663  "</fo:external-graphic>" => "4",
664  "<fo:float>" => "4",
665  "<fo:float" => "4",
666  "</fo:float>" => "4",
667  "<fo:flow>" => "4",
668  "<fo:flow" => "4",
669  "</fo:flow>" => "4",
670  "<fo:footnote>" => "4",
671  "<fo:footnote" => "4",
672  "</fo:footnote>" => "4",
673  "<fo:footnote-citation>" => "4",
674  "<fo:footnote-citation" => "4",
675  "</fo:footnote-citation>" => "4",
676  "<fo:initial-property-set>" => "4",
677  "<fo:initial-property-set" => "4",
678  "</fo:initial-property-set>" => "4",
679  "<fo:inline>" => "4",
680  "<fo:inline" => "4",
681  "</fo:inline>" => "4",
682  "<fo:inline-container>" => "4",
683  "<fo:inline-container" => "4",
684  "</fo:inline-container>" => "4",
685  "<fo:instream-graphic>" => "4",
686  "<fo:instream-graphic" => "4",
687  "</fo:instream-graphic>" => "4",
688  "<fo:layout-master-set>" => "4",
689  "<fo:layout-master-set" => "4",
690  "</fo:layout-master-set>" => "4",
691  "<fo:leader>" => "4",
692  "<fo:leader" => "4",
693  "</fo:leader>" => "4",
694  "<fo:list-block>" => "4",
695  "<fo:list-block" => "4",
696  "</fo:list-block>" => "4",
697  "<fo:list-item>" => "4",
698  "<fo:list-item" => "4",
699  "</fo:list-item>" => "4",
700  "<fo:list-item-body>" => "4",
701  "<fo:list-item-body" => "4",
702  "</fo:list-item-body>" => "4",
703  "<fo:list-item-label>" => "4",
704  "<fo:list-item-label" => "4",
705  "</fo:list-item-label>" => "4",
706  "<fo:multi-case>" => "4",
707  "<fo:multi-case" => "4",
708  "</fo:multi-case>" => "4",
709  "<fo:multi-properties>" => "4",
710  "<fo:multi-properties" => "4",
711  "</fo:multi-properties>" => "4",
712  "<fo:multi-property-set>" => "4",
713  "<fo:multi-property-set" => "4",
714  "</fo:multi-property-set>" => "4",
715  "<fo:multi-switch>" => "4",
716  "<fo:multi-switch" => "4",
717  "</fo:multi-switch>" => "4",
718  "<fo:multi-toggle>" => "4",
719  "<fo:multi-toggle" => "4",
720  "</fo:multi-toggle>" => "4",
721  "<fo:page-number>" => "4",
722  "<fo:page-number" => "4",
723  "</fo:page-number>" => "4",
724  "<fo:page-number-citation>" => "4",
725  "<fo:page-number-citation" => "4",
726  "</fo:page-number-citation>" => "4",
727  "<fo:page-sequence>" => "4",
728  "<fo:page-sequence" => "4",
729  "</fo:page-sequence>" => "4",
730  "<fo:page-sequence-master>" => "4",
731  "<fo:page-sequence-master" => "4",
732  "</fo:page-sequence-master>" => "4",
733  "<fo:region-after>" => "4",
734  "<fo:region-after" => "4",
735  "</fo:region-after>" => "4",
736  "<fo:region-before>" => "4",
737  "<fo:region-before" => "4",
738  "</fo:region-before>" => "4",
739  "<fo:region-body>" => "4",
740  "<fo:region-body" => "4",
741  "</fo:region-body>" => "4",
742  "<fo:region-end>" => "4",
743  "<fo:region-end" => "4",
744  "</fo:region-end>" => "4",
745  "<fo:region-start>" => "4",
746  "<fo:region-start" => "4",
747  "</fo:region-start>" => "4",
748  "<fo:repeatable-page-master-alternatives>" => "4",
749  "<fo:repeatable-page-master-alternatives" => "4",
750  "</fo:repeatable-page-master-alternatives>" => "4",
751  "<fo:repeatable-page-master-reference>" => "4",
752  "<fo:repeatable-page-master-reference" => "4",
753  "</fo:repeatable-page-master-reference>" => "4",
754  "<fo:root>" => "4",
755  "<fo:root" => "4",
756  "</fo:root>" => "4",
757  "<fo:simple-link>" => "4",
758  "<fo:simple-link" => "4",
759  "</fo:simple-link>" => "4",
760  "<fo:simple-page-master>" => "4",
761  "<fo:simple-page-master" => "4",
762  "</fo:simple-page-master>" => "4",
763  "<fo:single-page-master-reference>" => "4",
764  "<fo:single-page-master-reference" => "4",
765  "</fo:single-page-master-reference>" => "4",
766  "<fo:static-content>" => "4",
767  "<fo:static-content" => "4",
768  "</fo:static-content>" => "4",
769  "<fo:table>" => "4",
770  "<fo:table" => "4",
771  "</fo:table>" => "4",
772  "<fo:table-and-caption>" => "4",
773  "<fo:table-and-caption" => "4",
774  "</fo:table-and-caption>" => "4",
775  "<fo:table-body>" => "4",
776  "<fo:table-body" => "4",
777  "</fo:table-body>" => "4",
778  "<fo:table-caption>" => "4",
779  "<fo:table-caption" => "4",
780  "</fo:table-caption>" => "4",
781  "<fo:table-cell>" => "4",
782  "<fo:table-cell" => "4",
783  "</fo:table-cell>" => "4",
784  "<fo:table-column>" => "4",
785  "<fo:table-column" => "4",
786  "</fo:table-column>" => "4",
787  "<fo:table-footer>" => "4",
788  "<fo:table-footer" => "4",
789  "</fo:table-footer>" => "4",
790  "<fo:table-header>" => "4",
791  "<fo:table-header" => "4",
792  "</fo:table-header>" => "4",
793  "<fo:table-row>" => "4",
794  "<fo:table-row" => "4",
795  "</fo:table-row>" => "4",
796  "<fo:wrapper>" => "4",
797  "<fo:wrapper" => "4",
798  "</fo:wrapper>" => "4",
799  "<xsl:apply-imports" => "4",
800  "<xsl:apply-templates" => "4",
801  "<xsl:apply-templates/>" => "4",
802  "</xsl:apply-templates>" => "4",
803  "<xsl:attribute" => "4",
804  "</xsl:attribute>" => "4",
805  "<xsl:attribute-set" => "4",
806  "</xsl:attribute-set>" => "4",
807  "<xsl:call-template" => "4",
808  "</xsl:call-template>" => "4",
809  "<xsl:choose>" => "4",
810  "</xsl:choose>" => "4",
811  "<xsl:comment>" => "4",
812  "</xsl:comment>" => "4",
813  "<xsl:copy" => "4",
814  "</xsl:copy>" => "4",
815  "<xsl:copy-of" => "4",
816  "<xsl:decimal-format" => "4",
817  "<xsl:element" => "4",
818  "</xsl:element>" => "4",
819  "<xsl:fallback>" => "4",
820  "</xsl:fallback>" => "4",
821  "<xsl:for-each" => "4",
822  "</xsl:for-each>" => "4",
823  "<xsl:if" => "4",
824  "</xsl:if>" => "4",
825  "<xsl:import" => "4",
826  "<xsl:include" => "4",
827  "<xsl:key" => "4",
828  "<xsl:message" => "4",
829  "</xsl:message>" => "4",
830  "<xsl:namespace-alias" => "4",
831  "<xsl:number" => "4",
832  "<xsl:otherwise>" => "4",
833  "</xsl:otherwise>" => "4",
834  "<xsl:output" => "4",
835  "<xsl:param" => "4",
836  "</xsl:param>" => "4",
837  "<xsl:preserve-space" => "4",
838  "<xsl:processing-instruction" => "4",
839  "</xsl:processing-instruction>" => "4",
840  "<xsl:sort" => "4",
841  "<xsl:strip-space" => "4",
842  "<xsl:stylesheet" => "4",
843  "</xsl:stylesheet>" => "4",
844  "<xsl:template" => "4",
845  "</xsl:template>" => "4",
846  "<xsl:text>" => "4",
847  "<xsl:text" => "4",
848  "</xsl:text>" => "4",
849  "<xsl:transform" => "4",
850  "</xsl:transform>" => "4",
851  "<xsl:value-of" => "4",
852  "<xsl:variable" => "4",
853  "</xsl:variable>" => "4",
854  "<xsl:when" => "4",
855  "</xsl:when>" => "4",
856  "<xsl:with-param" => "4",
857  "</xsl:with-param>" => "4",
858  "<?phpxml" => "4",
859  "?>" => "4",
860  "-180" => "5",
861  "-270" => "5",
862  "-90" => "5",
863  "0" => "5",
864  "100" => "5",
865  "180" => "5",
866  "200" => "5",
867  "270" => "5",
868  "300" => "5",
869  "400" => "5",
870  "500" => "5",
871  "600" => "5",
872  "700" => "5",
873  "800" => "5",
874  "90" => "5",
875  "900" => "5",
876  "above" => "5",
877  "absolute" => "5",
878  "after" => "5",
879  "all" => "5",
880  "alpabetic" => "5",
881  "always" => "5",
882  "any" => "5",
883  "auto" => "5",
884  "avoid" => "5",
885  "backslant" => "5",
886  "baseline" => "5",
887  "before" => "5",
888  "behind" => "5",
889  "bidi-override" => "5",
890  "blank" => "5",
891  "blink" => "5",
892  "bold" => "5",
893  "bolder" => "5",
894  "both" => "5",
895  "capitalize" => "5",
896  "caption" => "5",
897  "center" => "5",
898  "center-left" => "5",
899  "center-right" => "5",
900  "collapse" => "5",
901  "column" => "5",
902  "condensed" => "5",
903  "consider-shifts" => "5",
904  "continuous" => "5",
905  "dashed" => "5",
906  "digits" => "5",
907  "disregard-shifts" => "5",
908  "dots" => "5",
909  "dotted" => "5",
910  "double" => "5",
911  "embed" => "5",
912  "end" => "5",
913  "even" => "5",
914  "even-page" => "5",
915  "expanded" => "5",
916  "extra-condensed" => "5",
917  "extra-expanded" => "5",
918  "false" => "5",
919  "far-left" => "5",
920  "far-right" => "5",
921  "fast" => "5",
922  "faster" => "5",
923  "first" => "5",
924  "fixed" => "5",
925  "font-height" => "5",
926  "groove" => "5",
927  "hide" => "5",
928  "high" => "5",
929  "higher" => "5",
930  "icon" => "5",
931  "ignore" => "5",
932  "indefinite" => "5",
933  "inherit" => "5",
934  "inside" => "5",
935  "italic" => "5",
936  "justify" => "5",
937  "landscape" => "5",
938  "last" => "5",
939  "left-side" => "5",
940  "leftwards" => "5",
941  "lighter" => "5",
942  "line-through" => "5",
943  "loud" => "5",
944  "low" => "5",
945  "lower" => "5",
946  "lowercase" => "5",
947  "lr" => "5",
948  "lr-tb" => "5",
949  "ltr" => "5",
950  "medium" => "5",
951  "menu" => "5",
952  "message-box" => "5",
953  "middle" => "5",
954  "mix?" => "5",
955  "narrower" => "5",
956  "new" => "5",
957  "no" => "5",
958  "no-force" => "5",
959  "no-limit" => "5",
960  "no-repeat" => "5",
961  "no-wrap" => "5",
962  "nonblank" => "5",
963  "none" => "5",
964  "normal" => "5",
965  "nowrap" => "5",
966  "oblique" => "5",
967  "odd" => "5",
968  "odd-page" => "5",
969  "once" => "5",
970  "outside" => "5",
971  "overline" => "5",
972  "page" => "5",
973  "portrait" => "5",
974  "pre" => "5",
975  "preserve" => "5",
976  "reference-area" => "5",
977  "relative" => "5",
978  "repeat" => "5",
979  "repeat-x" => "5",
980  "repeat-y" => "5",
981  "repeat?" => "5",
982  "replace" => "5",
983  "rest" => "5",
984  "retain" => "5",
985  "ridge" => "5",
986  "right-side" => "5",
987  "rightwards" => "5",
988  "rl" => "5",
989  "rl-tb" => "5",
990  "rtl" => "5",
991  "rule" => "5",
992  "scroll" => "5",
993  "semi-condensed" => "5",
994  "semi-expanded" => "5",
995  "separate" => "5",
996  "show" => "5",
997  "slow" => "5",
998  "slower" => "5",
999  "small-caps" => "5",
1000  "small-caption" => "5",
1001  "soft" => "5",
1002  "solid" => "5",
1003  "space" => "5",
1004  "spell-out" => "5",
1005  "spread" => "5",
1006  "static" => "5",
1007  "status-bar" => "5",
1008  "sub" => "5",
1009  "super" => "5",
1010  "suppress" => "5",
1011  "tb" => "5",
1012  "tb-rl" => "5",
1013  "text-bottom" => "5",
1014  "text-top" => "5",
1015  "traditional" => "5",
1016  "transparent" => "5",
1017  "treat-as-space" => "5",
1018  "true" => "5",
1019  "ultra-condensed" => "5",
1020  "ultra-expanded" => "5",
1021  "underline" => "5",
1022  "uppercase" => "5",
1023  "use-content" => "5",
1024  "use-font-metrics" => "5",
1025  "visible" => "5",
1026  "wider" => "5",
1027  "wrap" => "5",
1028  "x-fast" => "5",
1029  "x-high" => "5",
1030  "x-loud" => "5",
1031  "x-low" => "5",
1032  "x-slow" => "5",
1033  "x-soft" => "5",
1034  "xsl-any" => "5",
1035  "xsl-following" => "5",
1036  "xsl-preceding" => "5",
1037  "xsl-region-after" => "5",
1038  "xsl-region-before" => "5",
1039  "xsl-region-body" => "5",
1040  "xsl-region-end" => "5",
1041  "xsl-region-start" => "5",
1042  "yes" => "5");
1043 
1044 // Special extensions
1045 
1046 // Each category can specify a PHP function that returns an altered
1047 // version of the keyword.
1048 
1049 
1050 
1051 $this->linkscripts = array(
1052  "1" => "donothing",
1053  "2" => "donothing",
1054  "3" => "donothing",
1055  "5" => "donothing",
1056  "4" => "donothing");
1057 }
1058 
1059 
1060 function donothing($keywordin)
1061 {
1062  return $keywordin;
1063 }
1064 
1065 }?>