Re: Rewriting EncodeURLTransformer to encode the locale parameter

2008-08-01 Thread Kjetil Kjernsmo
On Thursday 31 July 2008 20:11:10 Robin Wyles wrote: Maybe you could use the LinkRewriterTransformer [1] to achieve this   along with your own custom InputModule to add the locale parameter. Oh, OK. Actually, I looked at that but realised that I didn't quite understand what it did, I thought

Rewriting EncodeURLTransformer to encode the locale parameter

2008-07-31 Thread Kjetil Kjernsmo
Hi all, I've been struggling a few days with adding a locale parameter to the local URLs in pages I serve. It should be really simple, just add the parameter to all hrefs that points to a resource within the site. I've tried to do it with XSLT through various approaches, but all unsuccessful,

Re: Rewriting EncodeURLTransformer to encode the locale parameter

2008-07-31 Thread Robin Wyles
Hi Kjetil, Maybe you could use the LinkRewriterTransformer [1] to achieve this along with your own custom InputModule to add the locale parameter. That said, the LinkRewriterTransformer looks up the InputModule based on the url scheme, so you would have to use a custom scheme (e.g.