2007/10/17, Thomas Fischer <
[hidden email]>:
>
> Hi list,
> I serve XML (KML) for a google maps web application via WAResponse and
> XMLWriter.
> It works fine, but now I need CDATA sections with HTML fragments inside the
> KML.
>
> I have a WARenderCanvas (as method argument to renderContentOn:). I like to
> use this canvas to produce the HTML code fragments.
>
> But: How can I produce the HTML code with the WARenderCanvas and pass the
> code to the stream of the XML WAResponse as HTML snippets?
WAHtmlBuilder in Seaside 2.8 is your friend here. It will give you
unescapted html. What you do with this is up to you. Please not that
CDATA will break if you have ]]> somewhere in your content. This is
the cause of about 0.02% of all rss feed errors.
Cheers
Philippe
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside