久久久久久久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>

        解析格式錯(cuò)誤的 XML

        Parse malformed XML(解析格式錯(cuò)誤的 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'>

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

                  問題描述

                  我正在嘗試將一段(可能)格式錯(cuò)誤的 HTML 加載到 XMLDocument 對象中,但它因 XMLExceptions 而失敗...因?yàn)橛蓄~外的開始/結(jié)束標(biāo)記,以及格式錯(cuò)誤的 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ù)中的所有錯(cuò)誤?在解析之前是否可以應(yīng)用任何 XML 驗(yàn)證器來糾正這些錯(cuò)誤?或者處理異常會(huì)解析任何可以解析的東西?

                  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,對象模型會(huì)很熟悉.

                  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)于解析格式錯(cuò)誤的 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 時(shí)忽略空格)
                  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>
                          • 主站蜘蛛池模板: 国产福利在线小视频 | 久久r精品 | 亚洲免费观看视频网站 | 久久中文视频 | 99视频免费看 | 日日夜夜天天久久 | 久久久久国产一区二区三区 | 日韩在线看片 | a黄视频 | 国产一级在线 | 羞视频在线观看 | 在线免费激情视频 | 久草在线 | 欧美成人精品激情在线观看 | 亚洲国产二区 | 欧美日韩国产精品 | 日本欧美在线视频 | 97伦理电影网 | 日韩一区二区三区视频在线观看 | 青青久在线视频 | 成人亚洲性情网站www在线观看 | 中文字幕 在线观看 | 久久小视频 | 超碰激情| 欧美日韩免费视频 | 亚州激情| 天堂中文在线播放 | 日本福利视频 | 中文字幕成人 | 99久久婷婷国产亚洲终合精品 | www.中文字幕.com | 国产精品久久久久久中文字 | 国产视频福利在线观看 | 国产欧美精品一区二区三区 | 日本午夜精品 | 日韩欧美一级片 | 中文字幕视频在线免费 | 蜜臀网站| 欧美成人精品在线 | 播放一级毛片 | 亚洲一区二区三区四区五区午夜 |