This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Inlinegraphic path problem.
- From: Jens Stavnstrup <js at ddre dot dk>
- To: "McKinstry, Scott A" <scott dot a dot mckinstry at lmco dot com>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 5 May 2004 16:40:15 +0200 (CEST)
- Subject: Re: [docbook-apps] Inlinegraphic path problem.
- References: <71105A6B5347F3429BF8732998C230763061B7@emss04m11.us.lmco.com>
- Reply-to: Jens Stavnstrup <js at ddre dot dk>
Scott,
Try this
<xsl:template match="inlinegraphic">
<image>
<xsl:attribute name="src"><xsl:value-of
select="./@fileref"/></xsl:attribute>
</image>
</xsl:template>
N.B. figs\image001.jpg is not a portable partial URL, figs/image001.jpg
is.
Regards,
Jens
On Wed, 5 May 2004, McKinstry, Scott A wrote:
> I am transforming to html
> when I insert the following tag
>
> <inlinegraphic fileref="figs/image001.jpg>
>
> the output is
>
> <img src="269layout_2b.htm.graphics\Image001.jpg"/>
>
> I thought it would be
>
> <img src="figs\Image001.jpg"/>
>
> the name of my input file is 269layout_2b.xml
>
> I cant find a way to make the path to the inline graphic
> use fileref with out changing it.
>
>
> I would appreciate any help you can give.
> Thanks.
>
>
> To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.
>
>
>
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.