[XML-SIG] Reconsidering the DOM API

Paul Prescod paul@prescod.net
Wed, 28 Jun 2000 07:31:44 -0700


Walter Doerwald wrote:
> 
> Why not put children and attribute access into __getitem__
>          c = b[0][1][0]["abc"]

Not a bad idea as syntactic sugar. We should consider it for the NEXT
version of the DOM API mapping.

-- 
 Paul Prescod - Not encumbered by corporate consensus
The calculus and the rich body of mathematical analysis to which it 
gave rise made modern science possible, but it was the algorithm that 
made the modern world possible.
	- The Advent of the Algorithm (pending), by David Berlinski