[英]Possible to convert not well formed HTML to XML using XSLT
我有一個一般問題,可以在氧氣編輯器中使用 XSLT 轉換將格式不正確的 HTML 轉換為 XML 嗎?
There's no way to parse HTML in standard XSLT, but (as Martin Honnen mentions) Saxon has an extension function saxon:parse-html()
, which returns a document node just as if you had parsed XML using the doc()
function.
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.