forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Morandini <>
Subject Re: JSPWiki In-line images and Forrest
Date Wed, 07 May 2003 13:43:06 GMT
Jeff Turner wrote:
> On Wed, May 07, 2003 at 12:51:37PM +0200, Luca Morandini wrote:
>>I tried to inline images in a wiki page made using Forrest and 
>>Chaperon... to no avail: do I miss something or I have to modify some 
>>XSLT to make this happen ?
> You're not missing anything.  I've never tried getting images working.

FWIW... I modified wiki2document.xsl as such:
<xsl:when test="contains(., '.png') or contains(., '.gif')">
     <xsl:variable name="href" select="substring(.,2,string-length(.)-2)"/>

	    <xsl:when test="contains($href, 'http://')">
			<icon src="{$href}"/>

			<icon src="resources/images/{$href}"/>


Moreover, I used the first section's title for the whole document:

...and now my generated documents look much nicer :)


                Luca Morandini
                GIS Consultant

View raw message