1- <!-- $PostgreSQL: pgsql/doc/src/sgml/README.links,v 1.1 2009/01/1004:40:08 momjian Exp $ -->
1+ <!-- $PostgreSQL: pgsql/doc/src/sgml/README.links,v 1.2 2009/01/1016:03:15 momjian Exp $ -->
22
33Linking within SGML documents can be confusing, so here is a summary:
44
55
66Intra-document Linking
77----------------------
8+
89<xref>
910used to link to a section without supplying text for the link;
1011text comes from the link target; has no close tag
@@ -23,12 +24,22 @@ endterm=
2324link target; endterm in a <link> overrides the supplied text
2425
2526
27+
2628External Linking
2729----------------
30+
2831<ulink>
2932like <link>, but uses a URL (not a document target); requires
3033</ulink>; if no text is specified, the URL appears as the link text
3134http://www.oasis-open.org/docbook/documentation/reference/html/ulink.html
3235
3336url=
3437used by <ulink> to specify the URL
38+
39+
40+ Guidelines
41+ ----------
42+
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