Python

Moderators: None (Apply to moderate this forum)
Number of threads: 473
Number of posts: 1172

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
SGML - Please help Posted by torpedo90 on 7 Jan 2011 at 5:04 PM
hi i have a question regarding SGML.

On this page - http://effbot.org/librarybook/sgmllib.htm

you can find how to extract the title from SGML. The example works only for one title. However I need to extract all titles from the file. I know it was mentioned that I need to overload the unknown_starttag and unknown_endtag but I can't get the hold of it. Can someone please tell me how? any help would be much appreciated. Thanks!



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.