Re: XML Schema Question
Posted: Wed Oct 19, 2022 10:33 am
Hello,
I think a schema for the XML document should be something like the one below.
You can use the Generate/Convert Schema action from the Tools menu or from the Open with submenu when invoking the contextual menu in the Project view. This action opens the Generate/Convert Schema dialog box that allows you to configure various options for conversion.
https://www.oxygenxml.com/doc/versions/ ... uages.html
Best Regards,
Octavian
I think a schema for the XML document should be something like the one below.
You can use the Generate/Convert Schema action from the Tools menu or from the Open with submenu when invoking the contextual menu in the Project view. This action opens the Generate/Convert Schema dialog box that allows you to configure various options for conversion.
https://www.oxygenxml.com/doc/versions/ ... uages.html
Code: Select all
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="str"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="str">
<xs:complexType mixed="true">
<xs:attribute name="name" use="required" type="xs:NCName"/>
</xs:complexType>
</xs:element>
</xs:schema>
Octavian