From: Robert Klemme Date: 2006-06-15T06:30:08+09:00 Subject: Re: Processing mixed content with REXML 2006/6/14, Eric Armstrong : > You did indeed speak truly. Thank you very much. > > Notes for the Element API docs: > > node_type --returns a symbol > :comment, :element, :text (I've seen these) > :cdata, ??? (I expect these) I don't think you will see them. CDATA is really just a way to encapsulate text. > each --iterates over all child nodes That's written in the docs. > to_a --returns an array of child nodes That's also written in the docs. Remember that by including modules multiple inheritance is at work. Granted that RI isn't as good as pointing out all the methods as JavaDoc but then again these can change at runtime anyway. It usually helps to look at things in IRB or #inspect them. > Where is a good place to add these? > (In other words, is there a way to do it without > checking out the project?) IMHO not needed. Have you been on the REXML homepage? There's pretty good docs and tutorials there http://www.germane-software.com/software/rexml/ Cheers robert -- Have a look: http://www.flickr.com/photos/fussel-foto/