Ignore:
Timestamp:
Sep 9, 2007, 2:01:29 AM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
a063414
Parents:
1c62f2a
Message:

Updated DocBook?-XSL code to version 1.73.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/graphics.xsl

    r1c62f2a rd7c9f58  
    376376          </xsl:choose>
    377377        </xsl:when>
    378         <xsl:otherwise>
    379           <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"
    380              href="{$filename}"/>
     378        <xsl:otherwise>
     379          <xsl:message terminate="yes">
     380            <xsl:text>Cannot insert </xsl:text><xsl:value-of select="$filename"/>
     381            <xsl:text>. Check use.extensions and textinsert.extension parameters.</xsl:text>
     382          </xsl:message>
    381383        </xsl:otherwise>
    382384      </xsl:choose>
     
    495497        </xsl:when>
    496498        <xsl:otherwise>
    497           <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"
    498              href="{$filename}"/>
    499         </xsl:otherwise>
     499          <xsl:message terminate="yes">
     500            <xsl:text>Cannot insert </xsl:text><xsl:value-of select="$filename"/>
     501            <xsl:text>. Check use.extensions and textinsert.extension parameters.</xsl:text>
     502          </xsl:message>
     503        </xsl:otherwise>
    500504      </xsl:choose>
    501505    </xsl:when>
     
    533537
    534538<xsl:template match="textdata">
     539  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
    535540  <xsl:variable name="filename">
    536541    <xsl:choose>
     
    565570          <xtext:insertfile href="{$filename}"/>
    566571        </xsl:when>
    567         <xsl:otherwise>
    568           <xsl:message terminate="yes">
    569             <xsl:text>No insertfile extension available.</xsl:text>
    570           </xsl:message>
    571         </xsl:otherwise>
     572        <xsl:otherwise>
     573          <xsl:message terminate="yes">
     574            <xsl:text>Don't know how to insert files with </xsl:text>
     575            <xsl:value-of select="$vendor"/>
     576          </xsl:message>
     577        </xsl:otherwise>
    572578      </xsl:choose>
    573579    </xsl:when>
    574580    <xsl:otherwise>
    575       <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"
    576          href="{$filename}"/>
     581      <xsl:message terminate="yes">
     582        <xsl:text>Cannot insert </xsl:text><xsl:value-of select="$filename"/>
     583        <xsl:text>. Check use.extensions and textinsert.extension parameters.</xsl:text>
     584      </xsl:message>
    577585    </xsl:otherwise>
    578586  </xsl:choose>
Note: See TracChangeset for help on using the changeset viewer.