|
251 | 251 | </xsl:call-template>
|
252 | 252 | </xsl:template>
|
253 | 253 |
|
| 254 | +<xsl:templatename="html.head"> |
| 255 | + <xsl:paramname="prev"select="/foo"/> |
| 256 | + <xsl:paramname="next"select="/foo"/> |
| 257 | + |
| 258 | +<!-- Optimization for pgsql-docs: Cut out a bunch of things we don't need |
| 259 | + here, including an expensive //legalnotice search.--> |
| 260 | + |
| 261 | + <head> |
| 262 | + <xsl:call-templatename="system.head.content"/> |
| 263 | + <xsl:call-templatename="head.content"/> |
| 264 | + |
| 265 | + <xsl:iftest="$prev"> |
| 266 | + <linkrel="prev"> |
| 267 | + <xsl:attributename="href"> |
| 268 | + <xsl:call-templatename="href.target"> |
| 269 | + <xsl:with-paramname="object"select="$prev"/> |
| 270 | + </xsl:call-template> |
| 271 | + </xsl:attribute> |
| 272 | + <xsl:attributename="title"> |
| 273 | + <xsl:apply-templatesselect="$prev"mode="object.title.markup.textonly"/> |
| 274 | + </xsl:attribute> |
| 275 | + </link> |
| 276 | + </xsl:if> |
| 277 | + |
| 278 | + <xsl:iftest="$next"> |
| 279 | + <linkrel="next"> |
| 280 | + <xsl:attributename="href"> |
| 281 | + <xsl:call-templatename="href.target"> |
| 282 | + <xsl:with-paramname="object"select="$next"/> |
| 283 | + </xsl:call-template> |
| 284 | + </xsl:attribute> |
| 285 | + <xsl:attributename="title"> |
| 286 | + <xsl:apply-templatesselect="$next"mode="object.title.markup.textonly"/> |
| 287 | + </xsl:attribute> |
| 288 | + </link> |
| 289 | + </xsl:if> |
| 290 | + |
| 291 | + <xsl:call-templatename="user.head.content"/> |
| 292 | + </head> |
| 293 | +</xsl:template> |
| 294 | + |
254 | 295 | </xsl:stylesheet>
|