You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mark Lowe <me...@gmail.com> on 2005/02/20 19:32:34 UTC

EncodeURLTransformer with plain xslt transoformation

Hello

I asked this before, but I'm not sure if I was clear that I'm trying
to encode urls in a plain xslt/xml no xsp.

    <map:transformer logger="sitemap.transformer.encodeURL"
name="encodeURL"
src="org.apache.cocoon.transformation.EncodeURLTransformer" />

<map:match pattern="foo">
   	<map:generate src="foo.xml" />
    	<map:transform src="foo.xsl" type="xslt" />
    	<map:transform type="encodeURL" />
    	<map:serialize type="html" />
   </map:match>


Have I missed something, or should the links (any thing <a> with the
attribute href) be url encoded?

Mark

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