Hi, I use function "htmlReadFile" to parse test.html below, the ">" can't be recognized while IE6 can display it as ">" correctly, Would you pls make the libxml2 more practically? give me a patch about "htmlParseEntityRef" and "htmlParseName". Best regards, yours ------- test.html content begin ------ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <body> <span>您的位置:<a href=""http://www.website.com">http://www.website.com" rel="external">首页</a>−><a href=""http://news.website.com">http://news.website.com" rel="external">新闻频道</a>−>正文</span> </body> </html> ------- test.html content end ------ 用MSN有问题?客服机器人小美帮你忙! 立刻和小美聊天! |