摘要
介绍了一种用Python编程语言以面向对象的方式访问XML文件内容的方法,针对这种方法不支持简体中文编码的缺点提出了一个解决方案,并利用Python语言内置的XML程序接口DOM予以实现。
A method of using Python programming language to access XML file content in object-oriented manner was introduced.For the shortcoming of the method not supporting simplified Chinese code, a solution was put forward and implemented by the XML DOM programming interface that was Python programming language builtin module.
出处
《机械与电子》
2004年第7期62-65,共4页
Machinery & Electronics