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