« Return to Thread: img.src.path not taken into account

img.src.path not taken into account

by jmf! :: Rate this Message:

Reply to Author | View in Thread

Hi!

I'm customizing the stylesheet for the title page of a book; everything works fine except for an annoying
detail: it contains an external-graphics tag which does not take the 'img.src.path' variable into account.
I use the Maven jdocbook plugin which uses Xalan, FOP and Docbook XSLT 1.70.1.
I'm sure the img.src.path is set properly by the jdocbook plugin: it is used by the imagedata tags I've put in
my document.

Does somebody have any idea of what is going on?

Thanks,
JM


------------------------------
    <xsl:template name="book.titlepage.recto">
        <fo:block>
            <fo:table table-layout="fixed" width="175mm">
                <fo:table-column column-width="175mm"/>
                <fo:table-body>
                    <fo:table-row>
                        <fo:table-cell text-align="center">
                            <fo:block font-family="Helvetica" font-weight="bold" font-size="32pt" padding-before="10mm">
                                <xsl:value-of select="bookinfo/title"/>
                            </fo:block>
                            <fo:block font-family="Helvetica" font-size="22pt" padding-before="10mm">
                                <xsl:value-of select="bookinfo/subtitle"/>
                            </fo:block>
                            <fo:block font-family="Helvetica" font-size="12pt" padding="10mm">
                                <xsl:value-of select="bookinfo/releaseinfo"/>
                            </fo:block>
                            <fo:block>
                                <fo:external-graphic src="target/staging/images/images/cover.tif"/>
                            </fo:block>
                        </fo:table-cell>
                    </fo:table-row>
                    <fo:table-row>
                        <fo:table-cell text-align="left">
                            <fo:block>
                                <fo:external-graphic src="target/staging/images/images/ionic-logo.tif"/>
                            </fo:block>
                        </fo:table-cell>
                    </fo:table-row>
                </fo:table-body>
            </fo:table>
        </fo:block>
    </xsl:template>
------------------------------

 « Return to Thread: img.src.path not taken into account