File: kdevelop_toc.dsl

package info (click to toggle)
php-doc 20061001-1
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 45,764 kB
  • ctags: 1,611
  • sloc: xml: 502,485; php: 7,645; cpp: 500; makefile: 297; perl: 161; sh: 141; awk: 28
file content (88 lines) | stat: -rw-r--r-- 2,434 bytes parent folder | download | duplicates (3)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY docbook.dsl SYSTEM "/usr/share/sgml/docbkdsl/html/docbook.dsl" CDATA DSSSL>
]>

<!--

  $Id: kdevelop_toc.dsl,v 1.1 2002/01/06 15:42:27 hholzgra Exp $

  Stylesheet for generating a .toc file for kdevelope.

-->

<style-sheet>
<style-specification id="docbook-php-funcref" use="docbook">
<style-specification-body>

(declare-flow-object-class element
  "UNREGISTERED::James Clark//Flow Object Class::element")

(element book 
		(make element gi: "gideontoc"
					(make sequence
						(make element gi: "title" (literal "PHP"))
						(make element gi: "base" attributes: (list (list "href" "NO")) (empty-sosofo))
						(process-children)
						)
					)
		)

(element part 
  (make element gi: "tocsect1"
				attributes: (list (list "name" (data (node-list-first 
																							(select-elements (children (current-node)) (normalize "title")))))
													(list "url"  (string-append (id (current-node)) ".html"))
													)
				(process-children)
				)
	)

(element chapter
  (make element gi: "tocsect2"
				attributes: (list (list "name" (data (node-list-first 
																							(select-elements (children (current-node)) (normalize "title")))))
													(list "url"  (string-append (id (current-node)) ".html"))
													)
				(process-children)
				)
	)

(element reference
  (make element gi: "tocsect2"
				attributes: (list (list "name" (data (node-list-first (select-elements (children (current-node)) (normalize "title")))))
													(list "url"  (string-append (id (current-node)) ".html"))
													)
				(process-children)
				)
	)

(element appendix
  (make element gi: "tocsect2"
				attributes: (list (list "name" (data (node-list-first 
																							(select-elements (children (current-node)) (normalize "title")))))
													(list "url"  (string-append (id (current-node)) ".html"))
													)
				(process-children)
				)
	)

(element refentry (process-children))
(element refnamediv (process-children))
(element refname
  (make element gi: "tocsect3"
				attributes: (list (list "name"(data (current-node)))
													(list "url" (string-append (id (parent (parent (current-node)))) ".html"))
													)
				)
)



(default (empty-sosofo))

</style-specification-body>
</style-specification>

<external-specification id="docbook" document="docbook.dsl">

</style-sheet>