Hi Maurice,
I have replaced my code with yours. It still shows a cross in the Note
picture box in the PDF.
Please help!
It now reads:
</xsl:attribute-set>
<xsl:attribute-set name="admonition.properties">
<xsl:attribute name="padding">.33em 0 0
5px</xsl:attribute>
<xsl:attribute name="border-left">1px
solid</xsl:attribute>
<xsl:attribute name="border-color">
<xsl:variable name="node" select="."/>
<xsl:choose>
<xsl:when test="name($node)='note'">
<fo:external-graphic scaling="uniform"
src"url(file:///C%3A/Program%20Files/DocBook/images/orionlogosmall.png)"
>
</fo:external-graphic> </xsl:when>
<xsl:when test="name($node)='warning'">#900</xsl:when>
<xsl:when test="name($node)='caution'">#c60</xsl:when>
<xsl:when test="name($node)='tip'">#090</xsl:when>
<xsl:when test="name($node)='important'">#069</xsl:when>
<xsl:otherwise>#069</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</xsl:attribute-set>
Supun Gunasena
Orion Systems International
Excellence in Health Innovation
Orion Systems International
-----Original Message-----
From: Mauritz Jeanson [mailto:]
Sent: Monday, 18 July 2005 10:16 p.m.
To: Supun Gunasena;
Subject: RE: [docbook-apps] How to insert admonition graphic filepath
> -----Original Message-----
> From: Supun Gunasena
[...]
>
> <fo:external-graphic height="-1.0pt" scaling="uniform"
> space-before ="5pt"
> src="file:///C%3A/Program%20Files/DocBook/images/orionlogosmal
l.png" width="2.0pt">
>
> </fo:external-graphic>
[...]
> Is this file declaration correct? This code above results in
> a X being displayed in the 'Note' box in the PDF.
It should work with this syntax for the src attribute:
src =
"url(file:///C%3A/Program%20Files/DocBook/images/orionlogosmall.png)"
/MJ