Add guidelines section.
[PostgreSQL.git] / doc / src / sgml / README.links
blob238646df79fa107e55e0e8e37117d62a32da1471
1 <!-- $PostgreSQL$ -->
3 Linking within SGML documents can be confusing, so here is a summary:
6 Intra-document Linking
7 ----------------------
9 <xref>
10         used to link to a section without supplying text for the link;
11         text comes from the link target;  has no close tag
12         http://www.oasis-open.org/docbook/documentation/reference/html/xref.html
14 <link>
15         allows link text to be supplied, requires </link>
16         http://www.oasis-open.org/docbook/documentation/reference/html/link.html
19 linkend=
20         controls the target of the link/xref
22 endterm=
23         allows the text of the link/xref to be taken from a different 
24         link target; endterm in a <link> overrides the supplied text
28 External Linking
29 ----------------
31 <ulink>
32         like <link>, but uses a URL (not a document target);  requires
33         </ulink>; if no text is specified, the URL appears as the link text
34         http://www.oasis-open.org/docbook/documentation/reference/html/ulink.html
36 url=
37         used by <ulink> to specify the URL
40 Guidelines
41 ----------
43 o  Do not use endterm with <link> because the supplied text is ignored;  use
44    <xref>
45 o  Do not use text with <ulink> so the URL appears in printed output