/ Stephen Bannasch <[EMAIL PROTECTED]> was heard to say:
| using v1.49 of the xsl stylesheets
|
| I have the following figure defined:
|
| <figure><title>CCSmartWheel</title>
|     <mediaobject>
|       <imageobject>
|       <imagedata fileref="images/tiff/smartwheel.tiff" format="TIFF"/>
|       </imageobject>
|       <textobject>
|       <phrase>CCSmartWheel</phrase>
|       </textobject>
|     </mediaobject>
| </figure>

Put these templates in your customization layer. Fixed...but not yet in CVS.

<xsl:template name="is.graphic.format">
  <xsl:param name="format"></xsl:param>
  <xsl:if test="$format = 'PNG'
                or $format = 'PDF'
                or $format = 'JPG'
                or $format = 'JPEG'
                or $format = 'linespecific'
                or $format = 'GIF'
                or $format = 'GIF87a'
                or $format = 'GIF89a'
                or $format = 'TIFF'
                or $format = 'BMP'">1</xsl:if>
</xsl:template>

<xsl:template name="is.graphic.extension">
  <xsl:param name="ext"></xsl:param>
  <xsl:if test="$ext = 'png'
                or $ext = 'pdf'
                or $ext = 'jpeg'
                or $ext = 'jpg'
                or $ext = 'gif'
                or $ext = 'tif'
                or $ext = 'tiff'
                or $ext = 'bmp'">1</xsl:if>
</xsl:template>

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <[EMAIL PROTECTED]>      | One does what one is; one becomes
http://www.oasis-open.org/docbook/ | what one does.--Robert Musil
Chair, DocBook Technical Committee |

Reply via email to