---
title: "SGMLparser处理过程"
author: "conjohn668"
date: "2010-09-18T00:06:04Z"
tags: []
categories: ["编程语言"]
slug: "sgmlparser"
draft: false
lastmod: "2010-09-18T00:17:43Z"
id: 766303
url: "https://conjohn668.iteye.com/blog/766303"
---

SGMLparser处理过程：

so simple

 

begin, like unknown\_starttag(self,tag,attrs),then handle\_data(self,text)

then cursive

 

需要注意：网页只解析一遍，标签有许多，所以会出现比较多的同类结果