Here's how I might approach something like this: td=: '<td>',":,'</td>'"_ tr=: '<tr>',([:;td each),'</tr>'"_ table=: '<table>',([:;<@tr"1),'</table>'"_
Example use: table i.3 3 That results in a very long line, so let's change: tr=: '<tr>',([:;td each),('</tr>',LF)"_ table i.3 3 <table><tr><td>0</td><td>1</td><td>2</td></tr> <tr><td>3</td><td>4</td><td>5</td></tr> <tr><td>6</td><td>7</td><td>8</td></tr> </table> Note that boxed data gets handled similarly, as long as you only have one level of boxing (if you have more than that, the problem needs more description). If you want attributes (such as class=) I might want to edit the code. But it's probably easier to use css selectors like tr td:first-child if you want special decoration on (in this example) the first column. Thanks, -- Raul On Tue, Mar 3, 2015 at 9:40 AM, Chernin, Nadav <chern...@corning.com> wrote: > Hi, > I need in my project to represent boxed data in html report > I try to find some code that can help me to do that > Thanks > > Nadav Chernin > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm