hello cocooners,

anyone has used the EncodeURLTransformer before?

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

Is it for encoding URL like "www.apache.org?foo=b a r" to "www.apache.org?foo=b%20a%20r" ? Or have I something messed up?

In that manner I tried it with the following files. But the @href-Attr. in the serialized xml stays <a href="www.apache.org?foo=b a r"/>

a.xml:

   <?xml version="1.0" encoding="UTF-8"?>
     <a href="www.apache.org?foo=b a r"/>
        
sitemapsnip:

   <map:match pattern="rent_*">
     <map:generate src="a.xml"/>
     <map:transform type="encodeURL"/>
     <map:serialize type="xml"/>
   </map:match>

Thanks for any sugestions on that, or an example how the transformer will work right in advance.

RobertJ�ger



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



Reply via email to