Re: SGML parsing tags and leeping track

2006-05-02 Thread hapaboy2059
could i make a global variable and keep track of each tag count? Also how would i make a list or dictionary of tags that is found? how can i handle any tag that is given? -- http://mail.python.org/mailman/listinfo/python-list

Re: SGML parsing tags and leeping track

2006-05-02 Thread Heiko Wundram
Am Dienstag 02 Mai 2006 20:38 schrieb [EMAIL PROTECTED]: could i make a global variable and keep track of each tag count? Also how would i make a list or dictionary of tags that is found? how can i handle any tag that is given? The following snippet does what you want: from sgmllib import

Re: SGML parsing tags and leeping track

2006-05-02 Thread Heiko Wundram
Am Dienstag 02 Mai 2006 20:38 schrieb [EMAIL PROTECTED]: could i make a global variable and keep track of each tag count? Also how would i make a list or dictionary of tags that is found? how can i handle any tag that is given? The following snippet does what you want: from sgmllib import