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