On 4/2/07, Pascal Jasmin <[EMAIL PROTECTED]> wrote:
test =: 0 : 0
html
 head
 body
  p stuff
  p div='adiv'
   more stuff
  table
   tr
    td 1
    td 2
  p last stuff
)
...
Desired Output
...
(0{t),<(1{t),<(2{t),<(3{t),(<((4{t),<5{t)),(<(6{t),(<(7{t),<((8{t),9{t))),10{t

I do not think that is what you want.  You can see some contradictory
behaviors if you contrast your output with
  3 :'<^:(i.&0 y='' '')<y';._2 test

For example, you have 'head' and 'body' boxed differently while
you have your table cell elements boxed the same way.

Anyways, I suspect what you want looks more like:
  (([:(,.+/\)' '~:{."1) <`(<@$:@:(}."1))@.(' '&[EMAIL PROTECTED]@{.)/.]) ];._2 
test

FYI,

--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to