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

  • <tfoot id='YHX6H'></tfoot>

    1. <small id='YHX6H'></small><noframes id='YHX6H'>

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

        從 XSD 生成 C# 類

        Generating C# classes from XSD(從 XSD 生成 C# 類)
      1. <small id='905Qp'></small><noframes id='905Qp'>

                <tbody id='905Qp'></tbody>

                <tfoot id='905Qp'></tfoot>

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

                • <bdo id='905Qp'></bdo><ul id='905Qp'></ul>
                  本文介紹了從 XSD 生成 C# 類的處理方法,對大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時(shí)送ChatGPT賬號..

                  這是我想使用 xsd 工具為 C# 生成類的 xml shema:

                  This is xml shema from which I want generate classes for C# using xsd tool:

                  <?xml version="1.0" encoding="UTF-8"?>
                  <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:b2g="http://www.carina.hr/b2g/v1.0.0#" xmlns:xadesv141="http://uri.etsi.org/01903/v1.4.1#" xmlns:xades="http://uri.etsi.org/01903/v1.3.2#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.carina.hr/b2g/v1.0.0#" elementFormDefault="qualified">
                     <xsd:import namespace="http://uri.etsi.org/01903/v1.4.1#" schemaLocation="http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd" />
                     <xsd:import namespace="http://uri.etsi.org/01903/v1.3.2#" schemaLocation="http://uri.etsi.org/01903/v1.3.2/XAdES.xsd" />
                     <xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd" />
                     <element name="B2GDocument" type="b2g:B2GDocumentType" />
                     <complexType name="B2GDocumentType">
                        <sequence>
                           <element name="RequestHeader" type="b2g:RequestHeaderType" minOccurs="1" maxOccurs="1" />
                           <element name="ResponseHeader" type="b2g:ResponseHeaderType" minOccurs="0" maxOccurs="1" />
                           <element name="Content" type="b2g:ContentType" minOccurs="1" maxOccurs="1" />
                           <xsd:element ref="ds:Signature" minOccurs="0" maxOccurs="1" />
                        </sequence>
                        <attribute name="version" type="string" fixed="1.0" />
                     </complexType>
                     <complexType name="RequestHeaderType">
                        <annotation>
                           <documentation>Header of the document.</documentation>
                        </annotation>
                        <sequence>
                           <element name="AppId">
                              <annotation>
                                 <documentation>Id of the target application.</documentation>
                              </annotation>
                              <simpleType>
                                 <restriction base="string">
                                    <whiteSpace value="collapse" />
                                 </restriction>
                              </simpleType>
                           </element>
                           <element name="TraderId">
                              <annotation>
                                 <documentation>Id of the trader.</documentation>
                              </annotation>
                              <simpleType>
                                 <restriction base="string">
                                    <xsd:maxLength value="17" />
                                    <whiteSpace value="collapse" />
                                 </restriction>
                              </simpleType>
                           </element>
                           <element name="TraderAppId">
                              <annotation>
                                 <documentation>Id of the trader application.</documentation>
                              </annotation>
                              <simpleType>
                                 <restriction base="string">
                                    <xsd:maxLength value="48" />
                                    <whiteSpace value="collapse" />
                                 </restriction>
                              </simpleType>
                           </element>
                           <element name="TraderMsgId" maxOccurs="1" minOccurs="0">
                              <annotation>
                                 <documentation>Mime type of the document.
                  Currently:
                  text/xml application/pdf</documentation>
                              </annotation>
                              <simpleType>
                                 <restriction base="string" />
                              </simpleType>
                           </element>
                           <element name="DocUuid" type="b2g:DocUuidType" maxOccurs="1" minOccurs="0" />
                        </sequence>
                        <xsd:attribute name="Id" type="xsd:ID" use="required" />
                     </complexType>
                     <complexType name="ContentType">
                        <sequence>
                           <element name="DocType" type="string" maxOccurs="1" minOccurs="1" />
                           <element name="MimeType" type="string" maxOccurs="1" minOccurs="1" />
                           <element name="Description" type="string" maxOccurs="1" minOccurs="0">
                              <annotation>
                                 <documentation>Opcionalni opis dokumenta. Maksimalna duljina je 255 znakova.</documentation>
                              </annotation>
                           </element>
                           <element name="Data" maxOccurs="1" minOccurs="1">
                              <xsd:complexType mixed="true">
                                 <xsd:sequence minOccurs="0" maxOccurs="unbounded">
                                    <xsd:any namespace="##any" processContents="lax" />
                                 </xsd:sequence>
                                 <xsd:attribute name="encoding" use="required">
                                    <simpleType>
                                       <restriction base="string">
                                          <enumeration value="EMBEDDED" />
                                          <enumeration value="BASE64" />
                                       </restriction>
                                    </simpleType>
                                 </xsd:attribute>
                                 <xsd:anyAttribute namespace="##any" />
                              </xsd:complexType>
                           </element>
                        </sequence>
                        <xsd:attribute name="Id" type="xsd:ID" use="required" />
                     </complexType>
                     <complexType name="ResponseHeaderType">
                        <sequence>
                           <element name="DocUuid" type="b2g:DocUuidType" />
                           <element name="ReceiveTimestamp" type="dateTime" />
                        </sequence>
                        <xsd:attribute name="Id" type="xsd:ID" use="required" />
                     </complexType>
                     <xsd:simpleType name="DocUuidType">
                        <xsd:restriction base="xsd:string">
                           <xsd:length value="36" />
                           <xsd:pattern value="[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}" />
                        </xsd:restriction>
                     </xsd:simpleType>
                  </schema>
                  

                  當(dāng)我嘗試使用

                  C:	est>xsd G2BDokument.xsd /Classes
                  

                  我收到這條消息:

                  Microsoft (R) Xml Schemas/DataTypes support utility
                  [Microsoft (R) .NET Framework, Version 2.0.50727.3038]
                  Copyright (C) Microsoft Corporation. All rights reserved.
                  Schema validation warning: The 'http://www.w3.org/2000/09/xmldsig#:Signature' element is not declared. Line 20, position 11.
                  
                  Warning: Schema could not be validated. Class generation may fail or may produce incorrect results.
                  
                  Error: Error generating classes for schema 'G2BDokument'.
                    - The element 'http://www.w3.org/2000/09/xmldsig#:Signature' is missing.
                  
                  If you would like more help, please type "xsd /?".
                  

                  我無法弄清楚我做錯了什么,所以任何人都可以幫助我嗎?謝謝!

                  I can not figure out what I am doing wrong, so can anyone please help me? Thanks!

                  推薦答案

                  如果你有這個(gè)文件xmldsig-core-schema.xsd",試試這個(gè):

                  if you have this file "xmldsig-core-schema.xsd", try this:

                  C: est>xsd G2BDokument.xsd xmldsig-core-schema.xsd/Classes

                  C: est>xsd G2BDokument.xsd xmldsig-core-schema.xsd /Classes

                  BR

                  這篇關(guān)于從 XSD 生成 C# 類的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  What are good algorithms for vehicle license plate detection?(車牌檢測有哪些好的算法?)
                  onClick event for Image in Unity(Unity中圖像的onClick事件)
                  Running Total C#(運(yùn)行總 C#)
                  Deleting a directory when clicked on a hyperlink with JAvascript.ASP.NET C#(單擊帶有 JAvascript.ASP.NET C# 的超鏈接時(shí)刪除目錄)
                  asp.net listview highlight row on click(asp.net listview 在單擊時(shí)突出顯示行)
                  Calling A Button OnClick from a function(從函數(shù)調(diào)用按鈕 OnClick)
                      1. <tfoot id='Gviuf'></tfoot>
                          <bdo id='Gviuf'></bdo><ul id='Gviuf'></ul>

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

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

                              <tbody id='Gviuf'></tbody>

                          1. 主站蜘蛛池模板: 国产精品中文字幕一区二区三区 | 午夜激情免费视频 | 黄视频国产 | 欧美一区精品 | 欧美一级免费片 | 精品国产乱码久久久久久丨区2区 | 欧美精品一区在线发布 | 午夜视频免费网站 | 欧美视频成人 | 一区二区国产精品 | 久久香焦 | 一区二区精品在线 | 中文字幕国产一区 | 日韩精品一区二区三区 | 欧美成人自拍 | 国产精品久久久久久久久久免费 | 麻豆精品一区二区三区在线观看 | 天堂在线www| 久久99深爱久久99精品 | 国产精品福利在线 | 日韩av在线中文字幕 | 在线国产一区二区 | 毛片在线看看 | 在线观看亚 | 午夜电影合集 | 欧美精品久久久久 | 日本欧美国产 | 91网站视频在线观看 | 亚洲九九色 | 午夜影院毛片 | 日韩精品一区二区不卡 | www4虎| 成av在线| 色爽女 | 一区二区免费视频 | 亚洲国产一区在线 | 国产精品久久久久久妇女6080 | 午夜小视频在线播放 | 夜久久| 在线观看精品视频网站 | 久久丝袜 |