久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <bdo id='pVhP0'></bdo><ul id='pVhP0'></ul>

      <i id='pVhP0'><tr id='pVhP0'><dt id='pVhP0'><q id='pVhP0'><span id='pVhP0'><b id='pVhP0'><form id='pVhP0'><ins id='pVhP0'></ins><ul id='pVhP0'></ul><sub id='pVhP0'></sub></form><legend id='pVhP0'></legend><bdo id='pVhP0'><pre id='pVhP0'><center id='pVhP0'></center></pre></bdo></b><th id='pVhP0'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='pVhP0'><tfoot id='pVhP0'></tfoot><dl id='pVhP0'><fieldset id='pVhP0'></fieldset></dl></div>
    1. <tfoot id='pVhP0'></tfoot>

      <small id='pVhP0'></small><noframes id='pVhP0'>

        <legend id='pVhP0'><style id='pVhP0'><dir id='pVhP0'><q id='pVhP0'></q></dir></style></legend>

        解析格式錯誤的 XML

        Parse malformed XML(解析格式錯誤的 XML)
            <tbody id='M4h0p'></tbody>
              • <bdo id='M4h0p'></bdo><ul id='M4h0p'></ul>
                <tfoot id='M4h0p'></tfoot>
                <i id='M4h0p'><tr id='M4h0p'><dt id='M4h0p'><q id='M4h0p'><span id='M4h0p'><b id='M4h0p'><form id='M4h0p'><ins id='M4h0p'></ins><ul id='M4h0p'></ul><sub id='M4h0p'></sub></form><legend id='M4h0p'></legend><bdo id='M4h0p'><pre id='M4h0p'><center id='M4h0p'></center></pre></bdo></b><th id='M4h0p'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='M4h0p'><tfoot id='M4h0p'></tfoot><dl id='M4h0p'><fieldset id='M4h0p'></fieldset></dl></div>

                  <legend id='M4h0p'><style id='M4h0p'><dir id='M4h0p'><q id='M4h0p'></q></dir></style></legend>

                  <small id='M4h0p'></small><noframes id='M4h0p'>

                  本文介紹了解析格式錯誤的 XML的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  我正在嘗試將一段(可能)格式錯誤的 HTML 加載到 XMLDocument 對象中,但它因 XMLExceptions 而失敗...因為有額外的開始/結(jié)束標(biāo)記,以及格式錯誤的 XML 標(biāo)記,例如img > 代替

                  I'm trying to load a piece of (possibly) malformed HTML into an XMLDocument object, but it fails with XMLExceptions... since there are extra opening/closing tags, and malformed XML tags such as <img > instead of <img />

                  如何讓 XML 解析數(shù)據(jù)中的所有錯誤?在解析之前是否可以應(yīng)用任何 XML 驗證器來糾正這些錯誤?或者處理異常會解析任何可以解析的東西?

                  How do I get the XML to parse with all the errors in the data? Is there any XML validator that I can apply before parsing, to correct these errors? Or would handling the exception parse whatever can be parsed?

                  推薦答案

                  HTML Agility Pack 將解析html,而不是 xhtml,并且非常寬容.如果您使用過 XmlDocument,對象模型會很熟悉.

                  The HTML Agility Pack will parse html, rather than xhtml, and is quite forgiving. The object model will be familiar if you've used XmlDocument.

                  這篇關(guān)于解析格式錯誤的 XML的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  Ignore whitespace while reading XML(讀取 XML 時忽略空格)
                  XML to LINQ with Checking Null Elements(帶有檢查空元素的 XML 到 LINQ)
                  Reading XML with unclosed tags in C#(在 C# 中讀取帶有未閉合標(biāo)簽的 XML)
                  Parsing tables, cells with Html agility in C#(在 C# 中使用 Html 敏捷性解析表格、單元格)
                  delete element from xml using LINQ(使用 LINQ 從 xml 中刪除元素)
                  extracting just page text using HTMLAgilityPack(使用 HTMLAgilityPack 僅提取頁面文本)
                    <tbody id='SONxE'></tbody>

                        <tfoot id='SONxE'></tfoot>
                        <i id='SONxE'><tr id='SONxE'><dt id='SONxE'><q id='SONxE'><span id='SONxE'><b id='SONxE'><form id='SONxE'><ins id='SONxE'></ins><ul id='SONxE'></ul><sub id='SONxE'></sub></form><legend id='SONxE'></legend><bdo id='SONxE'><pre id='SONxE'><center id='SONxE'></center></pre></bdo></b><th id='SONxE'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='SONxE'><tfoot id='SONxE'></tfoot><dl id='SONxE'><fieldset id='SONxE'></fieldset></dl></div>
                      • <small id='SONxE'></small><noframes id='SONxE'>

                            <bdo id='SONxE'></bdo><ul id='SONxE'></ul>
                          • <legend id='SONxE'><style id='SONxE'><dir id='SONxE'><q id='SONxE'></q></dir></style></legend>
                          • 主站蜘蛛池模板: 久久久国产一区二区三区 | 国产精品久久久久一区二区 | 少妇一区二区三区 | 韩日一区二区 | 午夜在线观看免费 | 99精品欧美一区二区蜜桃免费 | 免费一级欧美在线观看视频 | 国产精品久久久久久久久动漫 | 亚洲精品一区中文字幕乱码 | 日韩手机在线看片 | 国产精品一区二区三区在线 | 欧美福利在线 | 中文字幕一区二区三区在线观看 | 亚洲大片 | 欧美一区二区三区四区五区无卡码 | 91色视频在线 | 九九看片 | 欧产日产国产精品v | 免费黄色特级片 | 狠狠狠干 | 久久精品国产一区二区电影 | 国产亚洲精品久久午夜玫瑰园 | av三级| 免费播放一级片 | 精品国产黄a∨片高清在线 www.一级片 国产欧美日韩综合精品一区二区 | 国产成人jvid在线播放 | 亚洲综合视频 | 人人草天天草 | 伊人网在线看 | 在线观看亚洲专区 | 中文在线视频 | 欧美日韩免费 | 九九热免费视频在线观看 | 精品无码久久久久国产 | 国产精品久久久久久久久免费高清 | 一区二区成人在线 | 91视频导航 | 久久成人18免费网站 | 国产免费一区二区 | 国精产品一品二品国精在线观看 | 在线精品一区二区 |