cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lehtonen, Mika" <m...@digikartta.net>
Subject HTML-serializer question
Date Tue, 15 Apr 2008 08:11:00 GMT
I have this external graphics tag in my xsl when using FOP to serialize 
pdfs'.(Cocoon 2.1.11 with 0.94 FOP)

<fo:external-graphic 
src="cocoon:/selitykset/{$kunta}-{$alue}-{$kaavano}-laatija_{$kaavano}.gif"  
.. etc..

But now I am building an html serializer for the same project. How do I 
"convert" this into an html tag?
<img 
src="cocoon:/selitykset/{$kunta}-{$alue}-{$kaavano}-laatija_{$kaavano}.gif" 
.. etc ..
doesn't work.

I have a large file structure of gifs' so this pipeline is used for 
finding the right one. So it will find 
kunta/alue/kaavano/laatija_kaavano.gif from the selitykset directory. I 
just can't remember why I did so difficulty. Couldn't it just be done like:
.. 
src="cocoon:/selitykset/{$kunta}/{$alue}/{$kaavano}/laatija_{$kaavano}.gif" 
.. without any pipeline? But then it would demand some concatenation? A 
little lost here :-[ .
Anyway that is probably not the problem but the right way to put it into 
html.

- mika -

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message