sgmllib & parsing problem
Roman Suzi
rnd at onego.ru
Thu Aug 30 09:28:02 EDT 2001
On Thu, 30 Aug 2001, Harvest T. Moon wrote:
> i'm writing a client for the JammerIM system in Python (for BeOS, if anyone
> cares) and the system is based on XML-pieces.
> i have subclassed SGMLParser from sgmllib and everything is working fine,
-skip-
> how can i make SGMLParser to see that '/' or handle the whole tag with '/'
> at the end as a standalone-tag?
sgmllib is NOT into full SGML. It is for HTML (or so docs are telling)
You can try xml instead. or xmllib (also old package)
> regards,
> Harvest T. Moon
Sincerely yours, Roman A.Suzi
--
- Petrozavodsk - Karelia - Russia - mailto:rnd at onego.ru -
More information about the Python-list
mailing list