Может ли кто-нибудь помочь мне изменить xsd так, чтобы элемент Root добавлялся в верхней части xml с двумя атрибутами, а также пространство имен не требуется в xml и, следовательно, не требуется в схеме
Текущая схема
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsdLocal="http://abcorp/json/org" targetNamespace="http://abcorp/json/org" attributeFormDefault="unqualified" elementFormDefault="qualified">
<xsd:annotation>
<xsd:documentation>Sampleschema</xsd:documentation>
</xsd:annotation>
<xsd:element name="a" type="xsdLocal:a" />
<xsd:complexType name="aTopElmt">
<xsd:sequence>
<xsd:element name="a" type="xsdLocal:a" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="a">
<xsd:sequence>
<xsd:element name="b" type="xsdLocal:b" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="b">
<xsd:sequence>
<xsd:element name="c" type="xsd:string" minOccurs="0" maxOccurs="1" />
<xsd:element name="d" type="xsd:string" minOccurs="0" maxOccurs="1" />
<xsd:element name="e" type="xsd:string" minOccurs="0" maxOccurs="1" />
<xsd:element name="f" type="xsd:string" minOccurs="0" maxOccurs="1" />
<xsd:element name="g" type="xsd:string" minOccurs="0" maxOccurs="1" />
<xsd:element name="h" type="xsd:string" minOccurs="0" maxOccurs="1" />
<xsd:element name="i" type="xsd:string" minOccurs="0" maxOccurs="1" />
<xsd:element name="j" type="xsd:string" minOccurs="0" maxOccurs="1" />
<xsd:element name="k" type="xsd:string" minOccurs="0" maxOccurs="1" />
<xsd:element name="l" type="xsd:string" minOccurs="0" maxOccurs="1" />
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
xml current
<?xml version="1.0" encoding="UTF-8"?>
<xsdLocal:a xmlns:xsdLocal="http://abcorp/json/org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://abcorp/json/org target.xsd ">
<xsdLocal:b>
<xsdLocal:c>xsdLocal:c</xsdLocal:c>
<xsdLocal:d>xsdLocal:d</xsdLocal:d>
<xsdLocal:e>xsdLocal:e</xsdLocal:e>
<xsdLocal:f>xsdLocal:f</xsdLocal:f>
<xsdLocal:g>xsdLocal:g</xsdLocal:g>
<xsdLocal:h>xsdLocal:h</xsdLocal:h>
<xsdLocal:i>xsdLocal:i</xsdLocal:i>
<xsdLocal:j>xsdLocal:j</xsdLocal:j>
<xsdLocal:k>xsdLocal:k</xsdLocal:k>
<xsdLocal:l>xsdLocal:l</xsdLocal:l>
</xsdLocal:b>
</xsdLocal:a>
Теперь необходимо изменить схему, добавив элемент Root вверху, а также два атрибута, модифицированный xml ниже
<?xml version="1.0" encoding="UTF-8"?>
<Root abc="123" def="234">
<a>
<b>
<c>c</c>
<d>d</d>
<e>e</e>
<f>f</f>
<g>g</g>
<h>h</h>
<i>i</i>
<j>j</j>
<k>k</k>
<l>l</l>
</b>
</a>
</Root>
Пожалуйста, помогите мне изменить схему так, чтобы измененный XML действовал в соответствии со схемой