File: dbmsgset.dsl

package info (click to toggle)
docbook-dsssl 1.79-9.2
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 3,288 kB
  • sloc: perl: 496; xml: 126; javascript: 61; makefile: 33
file content (42 lines) | stat: -rw-r--r-- 1,162 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
;; $Id: dbmsgset.dsl,v 1.2 2003/01/15 08:24:13 adicarlo Exp $
;;
;; This file is part of the Modular DocBook Stylesheet distribution.
;; See ../README or http://docbook.sourceforge.net/projects/dsssl/
;;

;; ======================== ERROR MESSAGES (ETC.) =======================

(element msgset (process-children))

(element msgentry ($block-container$))

(element simplemsgentry ($block-container$))

(element msg ($block-container$))

(element msgmain (process-children))

(element msgsub
  (process-children))

(element msgrel (empty-sosofo))

(element msgtext (process-children))

(element msginfo ($indent-para-container$))

(define ($genhead-para$ headtext)
  (make element gi: "P"
	(make element gi: "B"
	      (literal
	       (string-append headtext ": ")))
	(process-children)))

(element msglevel ($genhead-para$ (gentext-element-name (current-node))))
(element msgorig ($genhead-para$ (gentext-element-name (current-node))))
(element msgaud ($genhead-para$ (gentext-element-name (current-node))))

(element msgexplan ($indent-para-container$))
(element (msgexplan title) ($runinhead$))
(element (msgexplan para) (make sequence (process-children)))