cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rachid harradi" <rachid.harr...@gmx.net>
Subject load image with xslt in CocoonContext
Date Wed, 25 Jun 2008 15:12:54 GMT
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


Mime
View raw message