如何使用名称空间前缀创建XML模式

如何使用名称空间前缀创建XML模式,xml,schema,Xml,Schema,如何为下面的xml创建xml架构创建命名空间前缀的架构时,我面临的问题是: 真的 只需将xmlns:sch=”“移动到SOAP-ENV:Envelope标签中即可 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sch="http://www.schamst.com/webservice/schemas"> <SOAP-ENV:Body>

如何为下面的xml创建xml架构创建命名空间前缀的架构时,我面临的问题是:


真的

只需将xmlns:sch=”“移动到SOAP-ENV:Envelope标签中即可

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sch="http://www.schamst.com/webservice/schemas">
    <SOAP-ENV:Body>
        <sch:GET_ACCT>
            <sch:STATUS>true</sch:STATUS>
            <sch:ERRORs/>
        </sch:GET_ACCT>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

真的

实际上,我想为该XML创建XML模式,所以您需要创建类似“否”的东西,但这不起作用,我需要为以下XML创建:true