From: ser@... (Sean Russell) Date: 2004-04-28T21:14:03+09:00 Subject: Re: rexml: how to get element type? gabriele renzi wrote in message news:... > >Can you give me an example of what you'd like to see? > > hard to tell, I hoped you could answer with something like > "well I have this little routine.." > Btw, I believe that the main thing is not to let the representation to > recur over the whole document. Naw. I haven't touched the #inspect method. What you see is what Ruby generates by default. IMO, the #inspect method for XML objects would probably be XML, which wouldn't be very useful. > useful. It would be nice to avoid to show the child of the child, > replacing it with a simple '..' It wouldn't be an accurate representation if you couldn't see the children... even Array#inspect recurses. --- SER