I can't find "atr".  My own code using "sax" to do something with attributes
uses "attributes_psax_" like this fragment from a "startElement" handler:

   if. 0~:#xatr=. attributes x do.
       ATR_base_=: ATR_base_,y;<xatr
   end.

where "attributes" looks like this:

attributes_psax_=: 3 : 0
  z=. empty''
  while. p=. memint y do.
    z=. z, (memstr p);memstr memint y+SZINT
    y=. y+2*SZINT
  end.
  z
)

This is all J6 - has any of this changed with J7?

On Sun, Jul 17, 2011 at 9:20 AM, Raul Miller <[email protected]> wrote:

> http://www.jsoftware.com/jwiki/Addons/xml/sax says:
>
>   x with attributes, accessed with the verb atr, e.g. test=:
> atr'test' or 'one two'=:atr'one two'
>
> It looks to me like x is a meaningless number, and the atr fetches
> attributes on its own?
>
> --
> Raul
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to