![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
xml
aa80303857
这个作者很懒,什么都没留下…
展开
-
Spring 简单案例(依赖注入)_02
上一篇是注解注入一个bean,这篇就是XML配置注入一个bean 废话不多说直接上代码,首先是XML配置文件: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:c="htt原创 2017-04-07 10:19:05 · 269 阅读 · 0 评论 -
Python SAX解析XML
XML解析方式有SAX,DOM两种,单纯读取XML文档的话SAX有先天优势。下面介绍一下SAX解析XML: import xml.sax from xml.sax import make_parser from xml.sax.handler import ContentHandler class ParseHandler(ContentHandler): def __i...原创 2017-10-30 16:38:08 · 204 阅读 · 0 评论