|how to write lex program about html document using lex? email@example.com (han ning) (2003-04-20)|
|From:||"han ning" <firstname.lastname@example.org>|
|Date:||20 Apr 2003 17:14:36 -0400|
|Keywords:||lex, question, comment|
|Posted-Date:||20 Apr 2003 17:14:36 EDT|
Could anybody show some articles or programmimg source about parsing
Html documents using Lex
How can I using Lex to scan a html source text to find what is and how
many tags?the attribute_name?the attribute_content?the content? I
have tried a self-writing program,it seems not work well.I look
forward to solve the problem ,any one who can give me some advises or
help will receive my hearted thanks
[You might be able to do some of that with lots of start states, but why
aren't you starting with some of the existing HTML parsing libraries?
Return to the
Search the comp.compilers archives again.