cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zamek <za...@vili.pmmf.hu>
Subject Re: Openoffice generator
Date Tue, 03 Feb 2004 13:20:53 GMT
Hello,

Yessss! It works fine! Many thanks to you!

On Tuesday 03 February 2004 13.47, Upayavira wrote:

> So you need to pass the name of the document from the sitemap to the
> XSLT:
>
> <map:match pattern="*.xsw">
>   ...
>   <map:transform src="ooo2html.xsl">
>     <map:parameter name="doc_name" value="{1}"/>
>   </map:transform>
>   ...
> </map:match>
>
> Then in oo2html.xsl:
> <xsl:stylesheet .......>
>   <xsl:param name="doc_name"/>
>   ...
>   <xsl:template match=.......>
>
>     <img src="{$doc_name}/{substring-after(@xlink:href,'#Pictures/')}/>
>
>
> Regards, Upayavira
-- 
udv,
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694


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


Mime
View raw message