| Line | |
|---|
| 1 | I couldn't get the date_time.xml to validate, however, it works anyway. |
|---|
| 2 | The build process with fail with adequate error messages to fix |
|---|
| 3 | any errors. |
|---|
| 4 | |
|---|
| 5 | /********************************/ |
|---|
| 6 | Do not place a dtd declaration in the doc xml files. |
|---|
| 7 | Begin each file with: |
|---|
| 8 | <section ... |
|---|
| 9 | |
|---|
| 10 | /********************************/ |
|---|
| 11 | Including files into sections has some quirks to it. Unless there is a |
|---|
| 12 | section in the parent file, the first included file will display |
|---|
| 13 | instead of link. |
|---|
| 14 | |
|---|
| 15 | Example. |
|---|
| 16 | In date_time.xml: |
|---|
| 17 | |
|---|
| 18 | <xi:include href="subsection.xml" /> |
|---|
| 19 | |
|---|
| 20 | And in subsection/xml: |
|---|
| 21 | <section id="date_time.my_subsection" |
|---|
| 22 | xmlns:xi="http://www.w3.org/2001/XInclude"> |
|---|
| 23 | <para> |
|---|
| 24 | ... |
|---|
| 25 | </para> |
|---|
| 26 | <xi:include href="another.xml" /> |
|---|
| 27 | |
|---|
| 28 | /********************************/ |
|---|
| 29 | To crosslink use: |
|---|
| 30 | <link linkend="date_time.section.subsection">optional text</link> |
|---|
| 31 | |
|---|
| 32 | If you use '<link linkend="top">top</link>' the link will automatically |
|---|
| 33 | go to the top of the page it ends up in. |
|---|
Note: See
TracBrowser
for help on using the repository browser.