且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

解析HTML/XML并查找原始文档中元素的位置

更新时间:2023-11-07 14:26:10

Google找到了

Google found this, the gist of which is: it's hard for malformed documents because parsing requires synthesizing valid tokens that don't have any corresponding input. It's possible for valid documents, but most parsing libraries don't support it.