[XML-SIG] 4DOM future
Amos Latteier
Amos@digicool.com
Tue, 2 Nov 1999 19:37:25 -0500
Uche Ogbuji wrote:
>A. The PyDOM way
>
>value = node.get_parent()
>node.set_parent(value)
>
>B. The 4DOM 0.8 way
>
>value = node.getParent()
>node.setParent(value)
>
>C. The pure attribute way
>
>value = node.parent
>node.parent = value
>
>D. The attribute-named method way
>
>value = node.parent()
>node.parent(value)
I too prefer C; it seems the cleanest.
-Amos
--
Amos Latteier mailto:amos@digicool.com
Digital Creations http://www.digicool.com