← Prev in month ← Prev in thread

DOCBOOK: my problem with fileref= attribute,XSLT for XML.FO adds an url( ) to the path

From
Regele, Manfred <>
Date
2001-08-09T15:15:03+00:00
ID
Thread
DOCBOOK: my problem with fileref= attribute,XSLT for XML.FO adds an url( ) to the path
Hi to all,

I wrote my first docbook document (xml) and processed it successfully with
xsl and fop. After a upgrade to new stylesheets, my referenced images are
not found by fop since the xml.fo format has changed, an url(...) is added:

Is it my fault - and what to do ?

XML Source:
=========

<imageobject>
          <imagedata fileref="hardcopy/ZUM_Main.jpg" format="JPEG"/>
</imageobject>


Old XML -> XSL(Version 1.29) -> FO Conversion
===================================

<fo:external-graphic height="auto" width="auto" content-height="auto"
content-width="auto" src="file:hardcopy/ZUM_Main.jpg"/>

[works fine for fop]

New XML -> XSL(Version 1.42) -> FO Conversion
====================================

<fo:external-graphic content-height="auto" content-width="auto"
height="$height" width="$width" 
src="url(hardcopy/ZUM_Main.jpg)"/>

[no way]

Manfred Regele 
ADIG Investment GmbH
22 Methoden&Tools
Richard-Reitzner-Allee 2
85540 Haar
Tel: 089/46268-308
mailto:
http://www.adig.de
← Prev in month ← Prev in thread