File: subdoc.dsl

package info (click to toggle)
php-doc 20081024-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 57,752 kB
  • ctags: 3,858
  • sloc: xml: 686,554; php: 19,446; perl: 610; cpp: 500; makefile: 336; sh: 114; awk: 28
file content (35 lines) | stat: -rw-r--r-- 1,115 bytes parent folder | download | duplicates (12)
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
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY docbook.dsl PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA DSSSL>
]>

<style-sheet>
<style-specification use="docbook">
<style-specification-body>

<!-- Notes:

1. If you use subdocs, you can't enumerate any of the elements that
   you include by subdoc reference.  There's no way to figure out
   what the right numbers would be because the stylesheet can't
   see back past the subdoc reference into the original grove to
   count.  This is either a Jade or DSSSL bug, I don't recall which.

2. If anything that occurs in a subdoc should appear in the TOC, you'll
   have to modify the TOC code to find it.

-->

(element subdocsection
  (let* ((subdoc    (attribute-string (normalize "subdoc")))
	 (targfile  (entity-generated-system-id subdoc))
	 (targdoc   (sgml-parse targfile))
	 (targroot  (node-property 'document-element targdoc)))
    (process-node-list targroot)))

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

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

</style-sheet>