diff --git a/doc/src/sgml/standalone-profile.xsl b/doc/src/sgml/standalone-profile.xsl
index 1b3938a638..077d300ebf 100644
--- a/doc/src/sgml/standalone-profile.xsl
+++ b/doc/src/sgml/standalone-profile.xsl
@@ -90,4 +90,8 @@ variant without links and references to the main documentation.
   <xsl:text>xml2</xsl:text>
 </xsl:template>
 
+<xsl:template match="xref[@linkend='sepgsql']">
+  <xsl:text>sepgsql</xsl:text>
+</xsl:template>
+
 </xsl:stylesheet>