diff --git a/doc/src/sgml/advanced.sgml b/doc/src/sgml/advanced.sgml
index 892dfaf3ae16e5f64cd4c8de972690e27041bff2..becc8720bca0fe29ca6bf75255a8ab215dd2242a 100644
--- a/doc/src/sgml/advanced.sgml
+++ b/doc/src/sgml/advanced.sgml
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/advanced.sgml,v 1.39 2004/03/30 21:58:20 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/advanced.sgml,v 1.40 2004/03/30 22:08:50 momjian Exp $
 -->
 
  <chapter id="tutorial-advanced">
@@ -412,10 +412,10 @@ SELECT name, altitude
    system.  Numerous languages may be used to implement functions and
    procedures; most built-in code is implemented in C.  The
    <quote>basic</quote> loadable procedural language for
-   <productname>PostgreSQL</productname> is <xref linkid="plpgsql">.
+   <productname>PostgreSQL</productname> is <xref linkend="plpgsql">.
    Numerous other languages may also be used, including <xref
-   linkid="plperl">, <xref linkid="pltcl">, and <xref
-   linkid="plpython">.
+   linkend="plperl">, <xref linkend="pltcl">, and <xref
+   linkend="plpython">.
    </para>
   
    <para> There are several ways that stored procedures are really