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

      <tfoot id='Y6D0N'></tfoot>
      1. <legend id='Y6D0N'><style id='Y6D0N'><dir id='Y6D0N'><q id='Y6D0N'></q></dir></style></legend>

      2. <small id='Y6D0N'></small><noframes id='Y6D0N'>

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

        從 .net 中的 xsd 模式文件中提取枚舉值

        Extract enumeration values from xsd schema file in .net(從 .net 中的 xsd 模式文件中提取枚舉值)
          <legend id='7f7Y3'><style id='7f7Y3'><dir id='7f7Y3'><q id='7f7Y3'></q></dir></style></legend>
            <tfoot id='7f7Y3'></tfoot>
              <bdo id='7f7Y3'></bdo><ul id='7f7Y3'></ul>
                <tbody id='7f7Y3'></tbody>
              <i id='7f7Y3'><tr id='7f7Y3'><dt id='7f7Y3'><q id='7f7Y3'><span id='7f7Y3'><b id='7f7Y3'><form id='7f7Y3'><ins id='7f7Y3'></ins><ul id='7f7Y3'></ul><sub id='7f7Y3'></sub></form><legend id='7f7Y3'></legend><bdo id='7f7Y3'><pre id='7f7Y3'><center id='7f7Y3'></center></pre></bdo></b><th id='7f7Y3'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='7f7Y3'><tfoot id='7f7Y3'></tfoot><dl id='7f7Y3'><fieldset id='7f7Y3'></fieldset></dl></div>

                • <small id='7f7Y3'></small><noframes id='7f7Y3'>

                  本文介紹了從 .net 中的 xsd 模式文件中提取枚舉值的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  如何使用 .net 以編程方式從 xsd 模式文件中提取元素的枚舉約束值?

                  How programmatically extract enumeration constraint values of an element from xsd schema file using .net?

                  例如,我想從以下 xsd 中提取Audi"、Golf"和BMW":

                  for example I'd like to extract 'Audi', 'Golf' and 'BMW' from the following xsd:

                  <xs:element name="car">
                    <xs:simpleType>
                      <xs:restriction base="xs:string">
                        <xs:enumeration value="Audi"/>
                        <xs:enumeration value="Golf"/>
                        <xs:enumeration value="BMW"/>
                      </xs:restriction>
                    </xs:simpleType>
                  </xs:element>
                  

                  推薦答案

                  有一個XmlSchema 類,但它看起來很漂亮......有趣".

                  There is an XmlSchema class, but it looks pretty... "fun" to work with.

                  xml查詢就夠了嗎?

                  XmlDocument doc = new XmlDocument();
                  doc.Load("Foo.xsd");            
                  XmlNamespaceManager mgr = new XmlNamespaceManager(doc.NameTable);
                  mgr.AddNamespace("xx", "http://www.w3.org/2001/XMLSchema");
                  foreach (XmlElement el in doc.SelectNodes("http://xx:element[@name='car'][1]/xx:simpleType/xx:restriction/xx:enumeration", mgr))
                  {
                      Console.WriteLine(el.GetAttribute("value"));
                  }
                  

                  這篇關于從 .net 中的 xsd 模式文件中提取枚舉值的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  Deleting a directory when clicked on a hyperlink with JAvascript.ASP.NET C#(單擊帶有 JAvascript.ASP.NET C# 的超鏈接時刪除目錄)
                  asp.net listview highlight row on click(asp.net listview 在單擊時突出顯示行)
                  Calling A Button OnClick from a function(從函數調用按鈕 OnClick)
                  ASP.net C# Gridview ButtonField onclick event(ASP.net C# Gridview ButtonField onclick 事件)
                  Adding OnClick event to ASP.NET control(將 OnClick 事件添加到 ASP.NET 控件)
                  Multiple submit Button click problem?(多個提交按鈕點擊問題?)
                • <i id='oLfcE'><tr id='oLfcE'><dt id='oLfcE'><q id='oLfcE'><span id='oLfcE'><b id='oLfcE'><form id='oLfcE'><ins id='oLfcE'></ins><ul id='oLfcE'></ul><sub id='oLfcE'></sub></form><legend id='oLfcE'></legend><bdo id='oLfcE'><pre id='oLfcE'><center id='oLfcE'></center></pre></bdo></b><th id='oLfcE'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='oLfcE'><tfoot id='oLfcE'></tfoot><dl id='oLfcE'><fieldset id='oLfcE'></fieldset></dl></div>

                        <tbody id='oLfcE'></tbody>
                        <bdo id='oLfcE'></bdo><ul id='oLfcE'></ul>
                        • <small id='oLfcE'></small><noframes id='oLfcE'>

                          <tfoot id='oLfcE'></tfoot>
                        • <legend id='oLfcE'><style id='oLfcE'><dir id='oLfcE'><q id='oLfcE'></q></dir></style></legend>
                            主站蜘蛛池模板: 国产亚洲一区二区在线观看 | 欧美视频第二页 | 国产一区在线免费观看 | 欧美精品在线一区 | 91精品一区二区三区久久久久久 | 国产美女久久久 | 日韩在线播放网址 | 国产高清视频在线观看播放 | japanhd成人 | 九九亚洲 | www.久久艹 | 精品国产欧美在线 | 久久久久久久久中文字幕 | 午夜免费福利电影 | 亚洲精品99 | 国产在线观看福利 | 欧美日韩成人在线 | 超碰97av| 成人在线视频免费观看 | 国产一区二区精品在线 | 欧美日韩精品综合 | 在线观看中文字幕 | 国产美女在线精品免费 | 国产成人一区二区三区 | 欧美一区二区在线 | 欧美日韩在线一区二区 | 日韩在线欧美 | 欧美1区 | 亚洲精品中文字幕中文字幕 | 丝袜毛片 | 日韩免费在线视频 | 欧美在线视频网 | 99久久精品国产一区二区三区 | 精品一区二区免费视频 | 91高清免费 | 国产一区二区在线91 | 亚洲人成网亚洲欧洲无码 | 亚洲一区成人 | 午夜电影福利 | 日本不卡一区二区三区在线观看 | 特级生活片 |