how to use method in node(xml)

sdf wqh-2 at 263.net
Mon Jul 30 23:20:24 EDT 2001


I am a newbie to python with xml.
there is a appendchild method in Node(I know
this from python Document),
but when I use 
>>>dir(Node)
the result is 
['ATTRIBUTE_NODE', 'CDATA_SECTION_NODE', 'COMMENT_NODE', 'DOCUMENT_FRAGMENT_NODE', 'DOCUMENT_NODE', 'DOCUMENT_TYPE_NODE', 'ELEMENT_NODE', 'ENTITY_NODE', 'ENTITY_REFERENCE_NODE', 'NOTATION_NODE', 'PROCESSING_INSTRUCTION_NODE', 'TEXT_NODE', '__doc__', '__module__']

and no appendchild accur,
it is right to use Node.__doc__
but how can I use appendchild (wrong appear when 
use Nod.appendchild).please post an example,better in detail
__________________________________________

DVD´óƬ£¬Ò»ÂÉ10Ôª  http://shopping.263.net/category02.htm
ÃÀÈÝÑøÑÕ¡¢¼õ·ÊÊÝÉíÃؾ÷  http://shopping.263.net/category10.htm








More information about the Python-list mailing list