RE: Using a transformer on XSP
> -Original Message- > From: Nathaniel Alfred [mailto:[EMAIL PROTECTED] > Sent: 20 July 2005 21:14 > > You can pipe the XSP output into any number of transformation > steps before serializing it: > > > > > ... > > > Got it. Sorry about that. I was actually make a whole different mistake of failing to include the namespace on the HTML so, quite rightly, the XSLT tags didn't match. Thanks for the advice it helped me isolate what I was doing wrong, 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. **
RE: Using a transformer on XSP
You can pipe the XSP output into any number of transformation steps before serializing it: ... HTH, Alfred. -Original Message- From: Stewart, Gary [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 20. Juli 2005 17:10 To: users@cocoon.apache.org Subject: 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 This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender’s company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender’s company. - 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. **
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 à : > 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]