Using a transformer on XSP
Hi there, I'm relatively new to using Cocoon and was still getting to grips with some of the basics. I have an XSP page and it does its thing just fine. However what I was hoping to do was to take the generated HTML from the XSP page and then pass it to another transformer to further process the HTML before serializing to the client. Is there a transformer that takes an XSP input and generates the code for the client or is it only performed during serialization? Thanks, Gary ** The information contained in this message may be confidential or legally privileged and is intended for the addressee only, If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using a transformer on XSP
hi AFAIK, if XSP output is html you should *only* serialize, transformation are xml === xml (not sure?) Message du 20/07/05 16:53 De : Stewart, Gary [EMAIL PROTECTED] A : users@cocoon.apache.org Copie agrave; : Objet : Using a transformer on XSP Hi there, I'm relatively new to using Cocoon and was still getting to grips with some of the basics. I have an XSP page and it does its thing just fine. However what I was hoping to do was to take the generated HTML from the XSP page and then pass it to another transformer to further process the HTML before serializing to the client. Is there a transformer that takes an XSP input and generates the code for the client or is it only performed during serialization? Thanks, Gary ** The information contained in this message may be confidential or legally privileged and is intended for the addressee only, If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Wanadoo vous informe que cet e-mail a ete controle par l'anti-virus mail. Aucun virus connu a ce jour par nos services n'a ete detecte. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Using a transformer on XSP
-Original Message- From: Olivier NOUGUIER [mailto:[EMAIL PROTECTED] Sent: 20 July 2005 16:05 hi AFAIK, if XSP output is html you should *only* serialize, transformation are xml === xml (not sure?) Sorry it is XHTML and I've basically got a template that I'm trying to use for the whole site which is in an XSLT document. After any other actions have been taken on generating something for XHTML I then basically run that code into the XSLT and it wraps the XHTML document to put it into the template format. Obviously it doesn't work on an XSP document but it should work on a (XHTML) output of that document. I'm pretty sure all transformations are xml to xml as they input SAX events and output SAX events (leading to the conclusion that you can only put XML documents in a transform). Thanks and sorry I didn't explain very well, Gary ** The information contained in this message may be confidential or legally privileged and is intended for the addressee only, If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. **