gpt4 book ai didi

html - 如何在 iOS 上将格式不正确的 html 转换为 xhtml

转载 作者:行者123 更新时间:2023-11-28 17:39:29 27 4
gpt4 key购买 nike

有谁知道如何在 iOS 上将格式不正确的 html 转换为 XHTML/XML?

我想使用 xpath 来解析 HTML 页面,但不是格式正确的 XML/XHTML。

最佳答案

你真的需要转换它,还是只使用 xpath? https://github.com/topfunky/hpple或者其他一些工具可以解析格式不正确的 html。

关于html - 如何在 iOS 上将格式不正确的 html 转换为 xhtml,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8722353/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com