cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: HTML Formatter problem
Date Fri, 25 Aug 2000 09:27:18 GMT
At 12:38 -0400 24/08/00, Donald Ball wrote:
>> Can anyone make any lateral suggestions for working around this problem?
>
>yeah - patch the HTMLFormatter to allow unescaped XML inside textareas
>that have some magic attribute. not a very elegant solution, but i can
>think of worse things

That is probably going to be the solution ..... I'll look into it
Now, where is the "work" done? In
org.apache.xml.serializer.HTMLSerializer.java right?

What do you think would be the best thing to do, patch this part of Xerces,
or subclass HTMLSerializer.java to make "AdaptableHTMLSerializer" or
something out of it.

If I can work out how to do any of this ..... what would be a suitable
attribute to use, to trigger temporary XHTML output within HTML output?

	<textarea name="blah" format="xml">
		<li>List Item</li>
		<img src="thang.gif"/>
	</textarea>

Or is there a more sophisticated attribute name I should use?

Thanks

regards Jeremy
-- 
   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <mailto:sharkbait@mac.com>     		 <http://www.media.demon.co.uk>
    <phone:+44.[0].20.7737.6831>        <pager:jermq@sms.genie.co.uk>

Mime
View raw message