M?g ?rtam bele 2 dolgot, meg a tesztelot is kibovitettem.
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>
6 <style-specification use="docbook">
7 <style-specification-body>
10 (define nnl (named-node-list-names (attributes current-node)))
11 (define attributumok (attributes current-node))
16 (if (attribute-string "id")
18 attributes: (list (list "NAME" (attribute-string "id")))
23 (if (attribute-string "xreflabel") (empty-sosofo)
24 ( literal "ures xreflabel"))
26 ;; (toc-entry (current-node))
29 (element (etik:class etik:name)
30 (make element gi: "H2"
33 (element (etik:class etik:description)
35 (make element gi: "H3"
36 (literal "Description"))
40 (element (etik:class etik:example)
42 (make element gi: "H3"
47 (element (etik:class etik:definition)
49 (make element gi: "H3"
50 (literal "Definition"))
54 (element (etik:template_param etik:templ_name)
55 (make element gi: "TD"
57 (element (etik:template_param etik:templ_description)
58 (make element gi: "TD"
60 (element (etik:template_param etik:templ_requirement)
61 (make element gi: "TD"
63 (element (etik:template_param etik:templ_default)
64 (make element gi: "TD"
67 (element (etik:template_params etik:template_param)
68 (make element gi: "TR"
71 (element (etik:class etik:template_params)
73 (make element gi: "H3"
74 (literal "Template parameters"))
75 (make element gi: "TABLE"
77 (list "CELLSPACING" "1")
79 (make element gi: "TR"
80 (make element gi: "TH" (literal "Name"))
81 (make element gi: "TH" (literal "Description"))
82 (make element gi: "TH" (literal "Requirement"))
83 (make element gi: "TH" (literal "Default")))
87 (element (etik:member etik:m_name)
88 (make element gi: "TD"
90 (element (etik:member etik:m_where_def)
91 (make element gi: "TD"
93 (element (etik:member etik:m_description)
94 (make element gi: "TD"
97 (element (etik:members etik:member)
98 (make element gi: "TR"
101 (element (etik:class etik:members)
103 (make element gi: "H3"
104 (literal "Public members"))
105 (make element gi: "TABLE"
107 (list "CELLSPACING" "1")
109 (make element gi: "TR"
110 (make element gi: "TH" (literal "Name"))
111 (make element gi: "TH" (literal "Where defined"))
112 (make element gi: "TH" (literal "Description"))
113 (process-children)))))
115 (element (etik:class etik:prot_members)
117 (make element gi: "H3"
118 (literal "Protected members"))
119 (make element gi: "TABLE"
121 (list "CELLSPACING" "1")
123 (make element gi: "TR"
124 (make element gi: "TH" (literal "Name"))
125 (make element gi: "TH" (literal "Where defined"))
126 (make element gi: "TH" (literal "Description"))
127 (process-children)))))
129 (element (etik:prot_members etik:member)
130 (make element gi: "TR"
133 (element (etik:class etik:priv_members)
135 (make element gi: "H3"
136 (literal "Private members"))
137 (make element gi: "TABLE"
139 (list "CELLSPACING" "1")
141 (make element gi: "TR"
142 (make element gi: "TH" (literal "Name"))
143 (make element gi: "TH" (literal "Where defined"))
144 (make element gi: "TH" (literal "Description"))
145 (process-children)))))
147 (element (etik:priv_members etik:member)
148 (make element gi: "TR"
151 (element (etik:example etik:code)
153 #f ;; mivel indentaljon
154 #f)) ;; legyen-e sorszamozas
156 (element (etik:class etik:notes)
158 (make element gi: "H3"
160 (make element gi: "P"
161 (process-children))))
163 (element (etik:class etik:category)
165 (make element gi: "H3"
166 (literal "Category"))
167 (make element gi: "P"
168 (process-children))))
171 </style-specification-body>
172 </style-specification>
173 <external-specification id="docbook" document="dbstyle">