这是xml shema,我希望使用xsd工具为C#生成类:
<?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> …Run Code Online (Sandbox Code Playgroud)