久久久久久久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>
                            主站蜘蛛池模板: 亚洲欧洲小视频 | 久久精品国产免费看久久精品 | 国产成人精品一区二区三区视频 | 天天天操操操 | 日韩免费视频一区二区 | 国产精品久久久久久久久久久免费看 | 久久精品在线免费视频 | 精品粉嫩aⅴ一区二区三区四区 | 欧美一级观看 | 伊人无码高清 | 久久久123 | av黄色在线| 久久久无码精品亚洲日韩按摩 | 成人免费在线观看 | 中文福利视频 | 亚洲一二三区不卡 | 黄色毛片黄色毛片 | 亚洲视频欧美视频 | 红桃视频一区二区三区免费 | 91久久精品一区二区三区 | 亚洲男人天堂 | 国产日韩欧美综合 | 综合在线视频 | 国产伦一区二区三区久久 | 久久久夜色精品亚洲 | 日韩欧美在线观看一区 | 在线视频中文字幕 | 欧美精品一区二区三区四区 在线 | 中文一区二区 | 精精国产xxxx视频在线播放 | 亚洲精久 | 国产精品久久久久久久一区二区 | 国产精品永久 | 精品九九 | 亚洲成人av一区二区 | 成人国产精品久久久 | 国产 日韩 欧美 中文 在线播放 | 三级在线观看 | 成人1区| 一起操网站 | 一区在线播放 |