Hi, 
    I use function "htmlReadFile" to parse test.html below, the "&gt" 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"; rel="external">首页</a>&minus;&gt<a 
href="http://news.website.com"; 
rel="external">新闻频道</a>&minus;&gt正文</span></body></html>
 
------- test.html content end   ------
_________________________________________________________________
MSN 中文网,最新时尚生活资讯,白领聚集门户。
http://cn.msn.com
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to