On 05.07.2004 11:49, 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?
I have never used it but I think it's the way to go.
A filter?
To lowlevel.
an XML Parser?
No, the XML coming from the other server will already be parsed by the WebServiceProxyGenerator, the resulting SAX events are pushed through the pipeline.
or my own transfomer?
Also to lowlevel, or to overkill. A simple XSLT will probably do the work too. But I would try the linkrewriter first.
I will have more questions in the futur, but this is the most important one. I thank you in advance for you help!
Looking forward :)
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
