You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by rachid harradi <ra...@gmx.net> on 2008/06/25 17:12:54 UTC
load image with xslt in CocoonContext
hello Together
i have a problem to print image with xstl. both physical and relativ path don't help me
my sitemap like :
<map:match pattern="Doc_EntryForm_C.js">
<map:generate src="module:flow-attr:myXml"/>
<map:transform type="xslt" src="context:/resources/stylesheets/v003_EntryForm.xslt">
<map:parameter name="filepath" value="{flow-attribute:absolutePath}" />
</map:transform>
<map:transform src="context:/resources/sources/saveFile.xsl">
<map:parameter name="serializer" value="{flow-attribute:mediaType}" />
<map:parameter name="filepath" value="{flow-attribute:path}" />
<map:parameter name="publish" value="{flow-attribute:publish}" />
<map:parameter name="filename" value="{flow-attribute:dateiname}" />
</map:transform>
<map:transform type ="savefiles"/>
<map:serialize type="html"/>
</map:match>
and in xslt :
src="{concat('file:\\',$filepath,'\images\group.jpg')}
i need your help
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org