OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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
bobs@sagehill.net


----- Original Message ----- 
From: "Jens Stavnstrup" <js@ddre.dk>
To: "McKinstry, Scott A" <scott.a.mckinstry@lmco.com>
Cc: <docbook-apps@lists.oasis-open.org>
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
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/.
>
>
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]