← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [docbook-apps] Inlinegraphic path problem.

From
Bob Stayton <>
Date
2004-05-05T18:23:53+00:00
ID
007201c432ce$95d6f180$6501a8c0@toshiro
Thread
Re: [docbook-apps] Inlinegraphic path problem.
Hmm, Jens's suggestion is basically what the stylesheet currently does.  If
there is a fileref value, it just copies it to the <img> element's src
attribute without any additional processing.  I find it quite strange that a
piece of the source filename got in there.

Are you using a customization?  If so, did you try the stock stylesheet
without the customization?

What XSLT processor are you using?  Any other details?

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: "Jens Stavnstrup" <>
To: "McKinstry, Scott A" <>
Cc: <>
Sent: Wednesday, May 05, 2004 7:40 AM
Subject: Re: [docbook-apps] Inlinegraphic path problem.


> 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
, or visit
http://www.oasis-open.org/mlmanage/.
> >
> >
> >
>
> To unsubscribe from this list, send a post to
, or visit
http://www.oasis-open.org/mlmanage/.
>
>
>
← Prev in month ← Prev in thread
Next in thread → Next in month →