Article View: cn.bbs.comp.xml
Article #302Re: ����Python��XML����(ת��)
From: 04CS��zy-zyq����ů�ij�ɫ����
Date: Wed, 10 Feb 2010 11:33
Date: Wed, 10 Feb 2010 11:33
19 lines
4426 bytes
4426 bytes
����������Ĵ������Ű�ɡ����� �� �� thinkhy@newsmth.net-SPAM.no (<Test/>) �Ĵ������ᵽ: �� : David Mertz ������ �ɰ��� Python�ĵ�һ���ڶ����ָ������� Python ��ʹ��XML��Ȼ������Щ��������³��ֺ�Python �е� XML�������˺ܴ�ķ�չ�����ҵ��ǣ���Щ�Ľ��еĴ���������ݡ�������ر��У�������������ǰ��XML ���ߵ����ۣ����ṩ���µĴ���ʾ : �� �������£�Python ��ʹ�� XML �ĵ����������ԡ��� Perl��REBOL��REXX �� TCL һ������һ�����Ľű����ԣ�������ǿ����ı��������������ң����˶Զ������͵��ı��ļ��������ļ��������⣬XML �ĵ�������������ӵ���ݽṹ�� : �� ���� Python 2.0 �ж� XML ��֧�� : �ı������г���ġ���ȡ���У�����������һЩ������ʽ�Ƚϡ���ʽͨ�����ܺܺõ��ʺ϶� XML ���г���������ʹ��?�Һã�Python������������������ȣ������д��?����ݽṹ��ֱ�ӷ�����ͨ��ʹ��������ԣ�������һϵ�� XML ��ص�ģ������������������� : XML�� : XML-SIG ��ר����Ȥ�飩�ij�ԱΪά�� Python һϵ�� XML �������������������� Python ר����Ȥ��һ��XML-SIG Ҫά���ʼ������б?�б?�������õIJο���ȫ���ĵ��������������Դ������ı��ĺ�� �ο����ϣ��� : �� Python 2.0 ��ʼ��Python ��������а��а�������� XML-SIG ��Ŀ�����µ� XML-SIG ����ܰ�һЩ Python �����а���û�еġ������Ƚ����ԣ�����������������˵�Ŀ�� �� ���������е����� �� Python 2.0 �� XML ֧�ֽ��������Ȥ�ġ����˵��ǣ����� Python : �� xmllib �Ļ�֧���� Python 2.0+ �����˺ܴ��Ŀǰ��Python �û������ѡ�� DOM �� SAX �� expat ���������� XML ��ʹ�����������Ե� XML ������Ա������ʶ����Щ���� : ģ �飺xmllib : xmllib ��һ������֤�ĵͼ����������Ӧ�ó���Աʹ�õ� xmllib ���Ը��� XMLParser �࣬���ṩ�����ĵ�Ԫ�أ����ض���������ǣ����ַ�ʵ�壩�ķ������� Python 1.5x �� Python 2.0+ ������ xmllib ��ʹ�÷�����û�仯���ھ���������¸�õ�ѡ����ʹ�� SAX ������ �: .................������ʡ�ԣ� -- http://bbs.sjtu.edu.cn/file/love/1132041502163181.jpg ���Ц��Զ��ô���ˣ���ô���� [m[1;35m�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 58.196.147.46][m
Technical Details
Message-ID:
<4kLX2U$1Ps@bbs.sjtu.edu.cn>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.neu.edu.cn!news.shec6.edu.cn!SJTUShow Full Headers
Complete Article Headers
X-Google-Thread: f7ebf7e2af,4fbd4d1ad03fb738,start X-Google-Attributes: gidf7ebf7e2af,public,usenet X-Google-NewGroupId: yes X-Google-Language: Chinese,GB Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.neu.edu.cn!news.shec6.edu.cn!SJTU From: Azureday.bbs@bbs.sjtu.edu.cn (04CS��zy-zyq����ů�ij�ɫ����) Newsgroups: cn.bbs.comp.xml Subject: Re: ����Python��XML����(ת��) Date: 10 Feb 2010 11:33:29 GMT Organization: ��ˮ˼Դ Message-ID: <4kLX2U$1Ps@bbs.sjtu.edu.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: XML/M.1265801598.A Lines: 18 X-Original-Bytes: 2477