Changeset ee92a8c in clfs-sysroot for BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/stripns.xsl
- Timestamp:
- Sep 9, 2007, 9:02:47 AM (17 years ago)
- Branches:
- master
- Children:
- 93fcbff
- Parents:
- c21857e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/stripns.xsl
rc21857e ree92a8c 17 17 copyright and other information. 18 18 19 This file contains general templates common to both the HTML and FO20 versions of the DocBook stylesheets.21 19 ******************************************************************** --> 22 23 <xsl:import href="utility.xsl"/>24 25 <!-- * Get a title for current doc so that we let the user -->26 <!-- * know what document we are processing at this point. -->27 <xsl:variable name="doc.title">28 <xsl:call-template name="get.doc.title"/>29 </xsl:variable>30 20 31 21 <!-- put an xml:base attribute on the root element --> … … 268 258 </xsl:when> 269 259 <xsl:otherwise> 270 <xsl:call-template name="log.message"> 271 <xsl:with-param name="level">Warn</xsl:with-param> 272 <xsl:with-param name="source" select="$doc.title"/> 273 <xsl:with-param name="context-desc"> 274 <xsl:text>no @xml:base</xsl:text> 275 </xsl:with-param> 276 <xsl:with-param name="message"> 277 <xsl:text>cannot add @xml:base to node-set root element</xsl:text> 278 </xsl:with-param> 279 </xsl:call-template> 280 <xsl:call-template name="log.message"> 281 <xsl:with-param name="level">Warn</xsl:with-param> 282 <xsl:with-param name="source" select="$doc.title"/> 283 <xsl:with-param name="context-desc"> 284 <xsl:text>no @xml:base</xsl:text> 285 </xsl:with-param> 286 <xsl:with-param name="message"> 287 <xsl:text>relative paths may not work</xsl:text> 288 </xsl:with-param> 289 </xsl:call-template> 260 <xsl:message> 261 <xsl:text>WARNING: cannot add @xml:base to node </xsl:text> 262 <xsl:text>set root element. </xsl:text> 263 <xsl:text>Relative paths may not work.</xsl:text> 264 </xsl:message> 290 265 </xsl:otherwise> 291 266 </xsl:choose>
Note:
See TracChangeset
for help on using the changeset viewer.