That's exactly where I am right now, but content does not come all in one piece, so I have to find somehow, when the last batch arrived. Then I can apply the transformation and write it back to the stream...
On Fri, Nov 14, 2008 at 3:33 PM, Ken Egozi <[EMAIL PROTECTED]> wrote: > take a look at TransformFilters (and ViewFilters in AspView) > > > On Fri, Nov 14, 2008 at 7:30 PM, Jan Limpens <[EMAIL PROTECTED]>wrote: > >> hi, >> >> I want to apply an xslt transformation to controller actions that return >> xml. a filter would be ideal for this >> but it seems that content comes in batches via the buffer, so i must wait >> for the whole content to have arrived ta make the transformation. is there a >> simple method for this? >> >> i thought about caching the buffer in a stringbuilder, memorystream or >> something alike that and conclude, that if current buffer's length is >> smaller than whatever the batch size seems to be, I apply the transform. but >> that seems terribly hackish to me... >> >> -- >> Jan >> ___________________ >> [EMAIL PROTECTED] >> www.limpens.com >> +55 (11) 3082-1087 >> +55 (11) 3097-8339 >> >> >> > > > -- > Ken Egozi. > http://www.kenegozi.com/blog > http://www.musicglue.com > http://www.castleproject.org > http://www.gotfriends.co.il > > > > -- Jan ___________________ [EMAIL PROTECTED] www.limpens.com +55 (11) 3082-1087 +55 (11) 3097-8339 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
