Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable create Element with reference. #14

Open
anivaros opened this issue Dec 23, 2016 · 0 comments
Open

Unable create Element with reference. #14

anivaros opened this issue Dec 23, 2016 · 0 comments

Comments

@anivaros
Copy link

Add ability to work with references in element.

Example:

<xs:import schemaLocation="TableViewLayout.xsd" namespace="http://schemas.digdes.com/DDM/ExecutiveWorkplace/2010/TableViewLayout"/>

<!-- LayoutType -->
<xs:element name="Layout" type="LayoutType" />
<xs:complexType name="LayoutType">
	<xs:sequence>
		<xs:element ref="layout:TableViewLayout" minOccurs="0" maxOccurs="1"/>
	</xs:sequence>
	<xs:attribute name="Id" type="ms:guid" use="required"/>
</xs:complexType>
<!-- TableViewLayout root element -->
<xs:element name="TableViewLayout" type="TableViewLayoutType"/>

<!-- TableViewLayoutType -->
<xs:complexType name="TableViewLayoutType">
	<xs:sequence>
		<xs:element name="Column" type="TableColumnType" minOccurs="0" maxOccurs="unbounded"/>
	</xs:sequence>
	<xs:attribute name="Version" type="xs:int" use="optional"/>
</xs:complexType>
anivaros added a commit to anivaros/xsd2cocoa that referenced this issue Dec 23, 2016
anivaros added a commit to anivaros/xsd2cocoa that referenced this issue Dec 24, 2016
anivaros added a commit to anivaros/xsd2cocoa that referenced this issue Dec 28, 2016
anivaros added a commit to anivaros/xsd2cocoa that referenced this issue Dec 6, 2018
anivaros added a commit to anivaros/xsd2cocoa that referenced this issue Dec 6, 2018
anivaros added a commit to anivaros/xsd2cocoa that referenced this issue Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant