Pedro C?rte-Real wrote:
> 
> Element#to_a will give you an array with everything. Element#each will
> iterate everything.
> 
Interesting. Your sure they operate on all nodes,
and not just elements? And I take it there is some way
to use node_type() to tell which is which?

The API docs for Element don't even mention to_a or each. 
The node_type() method is listed, but has no commentary.

Assuming that your suggestion solves the problem, what's
the best way to feed back the documentation for those
methods?