[daisy] Displaying a Diff next to the Editor

Bruno Dumon bruno at outerthought.org
Tue Aug 21 05:09:26 CDT 2007


On Mon, 2007-08-20 at 11:53 +0200, Hofmann. David wrote:
> 
> Thank you, I added the link transformer successfully but it still does
> not work:
> src="daisy:3122-SEEDOC" is transformed to
> src="/sitename/3122-SEEDOC.html", but it should be
> src="/sitename/3122-SEEDOC/version/default/part/ImageData/data"
> 
> I copied the <img> template from the diffreport.xsl:
> <xsl:template match="img" mode="HtmlDiffContent">
>     <img>
>       <xsl:copy-of select="@*"/>
>       <xsl:attribute name="lt:partLink">ImageData</xsl:attribute>
>     </img>
> </xsl:template>
> 
> Is something missing here or why is the src not converted correctly?

Looks like there is an error in your XSL. Simply copying that one
template won't do it, is the content actually processed by that
template? Using the "HtmlDiffContent" mode?

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org



More information about the daisy mailing list