Ok, probably this is not the right way to get a general HTML representation
of J data.
Anyway, what I'm looking for is simple: a verb which returns a string
containing HTML code, suitable to be displayed in the browser like the
argument is displayed in jconsole.
Currently, I use the output of flatten verb (with html special char
replaced) inside the <pre> </pre> HTML tags:
j2htm=: [: '<pre>'&, [: ,&'</pre>'
('<';'<';'>';'>';'"';'"';'&';'&') stringreplace flatten
Roger Hui wrote:
>
> And what would you do with tab, carriage return without linefeed,
> linefeed without carriage return, etc.?
>
>
--
View this message in context:
http://old.nabble.com/flatten-data-to-a-string-tp28179263s24193p28183119.html
Sent from the J Programming mailing list archive at Nabble.com.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm