doc-docbook/src/etik-ol-html.dsl
author beckerjc
Tue, 24 Feb 2004 16:36:02 +0000
changeset 126 89c6e4687fcc
parent 123 2d1da2e1644a
child 153 7309f1b3fc47
permissions -rw-r--r--
Makefile a html-hez. A verbatim m?dok elk?sz?t?se.
beckerjc@123
     1
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
beckerjc@123
     2
<!ENTITY dbstyle PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL>
beckerjc@123
     3
]>
beckerjc@123
     4
beckerjc@123
     5
<style-sheet>
beckerjc@123
     6
<style-specification use="docbook">
beckerjc@123
     7
<style-specification-body>
beckerjc@123
     8
beckerjc@123
     9
(element etik:class
beckerjc@123
    10
            (process-children))
beckerjc@123
    11
beckerjc@123
    12
(element (etik:class etik:name)
beckerjc@123
    13
  (make element gi: "H2"
beckerjc@123
    14
    (process-children)))
beckerjc@123
    15
beckerjc@123
    16
(element (etik:class etik:description)
beckerjc@123
    17
  (make sequence
beckerjc@123
    18
    (make element gi: "H3"
beckerjc@123
    19
	  (literal "Description"))
beckerjc@123
    20
    (make element gi: "P"
beckerjc@123
    21
	  (process-children))))
beckerjc@123
    22
beckerjc@123
    23
(element (etik:class etik:example)
beckerjc@123
    24
  (make sequence
beckerjc@123
    25
    (make element gi: "H3"
beckerjc@123
    26
	  (literal "Example"))
beckerjc@123
    27
    (make element gi: "P"
beckerjc@123
    28
	  (process-children))))
beckerjc@123
    29
beckerjc@123
    30
(element (etik:class etik:definition)
beckerjc@123
    31
  (make sequence
beckerjc@123
    32
    (make element gi: "H3"
beckerjc@123
    33
	  (literal "Definition"))
beckerjc@123
    34
    (make element gi: "P"
beckerjc@123
    35
	  (process-children))))
beckerjc@123
    36
beckerjc@123
    37
(element (etik:template_param etik:templ_name)
beckerjc@123
    38
  (make element gi: "TD"
beckerjc@123
    39
    (process-children)))
beckerjc@123
    40
(element (etik:template_param etik:templ_description)
beckerjc@123
    41
  (make element gi: "TD"
beckerjc@123
    42
    (process-children)))
beckerjc@123
    43
(element (etik:template_param etik:templ_requirement)
beckerjc@123
    44
  (make element gi: "TD"
beckerjc@123
    45
    (process-children)))
beckerjc@123
    46
(element (etik:template_param etik:templ_default)
beckerjc@123
    47
  (make element gi: "TD"
beckerjc@123
    48
    (process-children)))
beckerjc@123
    49
beckerjc@123
    50
(element (etik:template_params etik:template_param)  
beckerjc@123
    51
  (make element gi: "TR"
beckerjc@123
    52
	  (process-children)))
beckerjc@123
    53
beckerjc@123
    54
(element (etik:class etik:template_params)
beckerjc@123
    55
  (make sequence
beckerjc@123
    56
    (make element gi: "H3"
beckerjc@123
    57
	  (literal "Template parameters"))
beckerjc@123
    58
    (make element gi: "TABLE"
beckerjc@123
    59
	  attributes: (list
beckerjc@123
    60
		       (list "CELLSPACING" "1")
beckerjc@123
    61
		       (list "BORDER" "1"))
beckerjc@123
    62
 	  (make element gi: "TR"
beckerjc@123
    63
	    (make element gi: "TH"  (literal "Name"))
beckerjc@123
    64
	    (make element gi: "TH"  (literal "Description"))
beckerjc@123
    65
	    (make element gi: "TH"  (literal "Requirement"))
beckerjc@123
    66
	    (make element gi: "TH"  (literal "Default")))
beckerjc@123
    67
	    (process-children))))
beckerjc@123
    68
beckerjc@123
    69
beckerjc@123
    70
(element (etik:member etik:m_name)
beckerjc@123
    71
  (make element gi: "TD"
beckerjc@123
    72
    (process-children)))
beckerjc@123
    73
(element (etik:member etik:m_where_def)
beckerjc@123
    74
  (make element gi: "TD"
beckerjc@123
    75
    (process-children)))
beckerjc@123
    76
(element (etik:member etik:m_description)
beckerjc@123
    77
  (make element gi: "TD"
beckerjc@123
    78
    (process-children)))
beckerjc@123
    79
beckerjc@123
    80
(element (etik:members etik:member)  
beckerjc@123
    81
  (make element gi: "TR"
beckerjc@123
    82
	  (process-children)))
beckerjc@123
    83
beckerjc@123
    84
(element (etik:class etik:members)
beckerjc@123
    85
  (make sequence
beckerjc@123
    86
    (make element gi: "H3"
beckerjc@123
    87
	  (literal "Public members"))
beckerjc@123
    88
    (make element gi: "TABLE"
beckerjc@123
    89
	  attributes: (list
beckerjc@123
    90
		       (list "CELLSPACING" "1")
beckerjc@123
    91
		       (list "BORDER" "1"))
beckerjc@123
    92
 	  (make element gi: "TR"
beckerjc@123
    93
	    (make element gi: "TH"  (literal "Name"))
beckerjc@123
    94
	    (make element gi: "TH"  (literal "Where defined"))
beckerjc@123
    95
	    (make element gi: "TH"  (literal "Description"))
beckerjc@123
    96
	    (process-children)))))
beckerjc@123
    97
beckerjc@126
    98
(element (etik:example etik:code)
beckerjc@126
    99
  ($verbatim-display$
beckerjc@126
   100
   #f   ;; mivel indentaljon
beckerjc@126
   101
   #f)) ;; legyen-e sorszamozas
beckerjc@126
   102
beckerjc@123
   103
beckerjc@123
   104
</style-specification-body>
beckerjc@123
   105
</style-specification>
beckerjc@123
   106
<external-specification id="docbook" document="dbstyle">
beckerjc@123
   107
</style-sheet>