Hi list,

thanks for your help and advices :)


> Sure it will couse a nullpointerexception. First of all you need to to get
> from this snip something like this:
>
> <a href="/test">
>     <img>
>       <xsl:attribute name="src">
>                       /images/test.svg?label_text=hello&amp;label_color=red
>       </xsl:attribute>
>     </img>
>  </a>
>
> and than use this stylesheet
>
> See example:
>
> Your sitemap should have:
>
> <map:match pattern="stylesheets/*.xsl">
>       <map:generate src="stylesheets/{1}.xsl"/>
>       <map:transform type="i18n"/> <!-- will generate a valid xsl without i18n
> tags, and it will not couse an error anymore -->
>       <map:serialize type="xml"/>
> </map:match>
>
> <map:match pattern="...">
>       <map:generate src="<you-source>"/>
>       <map:transform src="cocoon:/stylesheets/<stylesheet-with-my-snip>.xsl"/> <!--
> use stylesheet generated by previous pipeline -->
>       <map:serialize/>
> </map:match>

-- 
Mathias Ochsendorf
www: www.ochsendorf.net | www.ochsendorf.de
ICQ: 68556900


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to