I believe I may have come up with the solution...
would this work?
<xs:complexType name="paragraph" mixed="true">
<xs:sequence>
<xs:element name="subparagraph" type="paragraph" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="myattrib" type="xs:string"/>...
I am trying to write a schema with some basic types.
See the following:
<xs:complexType name="Paragraph">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="myattribute" type="xs:string"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
I would like this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.