Thierry BARUSTA wrote:

Hi!

I'm very new to Cocoon (2.1) and I don't know really where an how to
post my question. I have to create a proxy with Cocoon that will forward
HTTP requests to an other server which will answer in XML. This XML will
be then transformed into xhtml. Problem is:

-If there are links in this XML they have to be rewritten to point to
the proxy. Which way is the best/easiest to translate those links?
Linkrewriter? A filter? an XML Parser? or my own transfomer?

I will have more questions in the futur, but this is the most important
one. I thank you in advance for you help!

Best regards,
--
TB




hi,
i had to do something similar and i wrote a specific transformer inspired by
EncodeURLTransformer's code. Indeed, with EncodeURLTransformer "you can specify which attributes hold URL values in order to restrict URL rewriting to specific attributes only" (cf. javadoc).


regards.


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



Reply via email to