469,613 Members | 2,028 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,613 developers. It's quick & easy.

XSD redefine question

1
Hi!
I don't know if this is right place to ask, but I tryed many places and still don't have an answer :-(

I have application that uses complex XSD schemas. Also some elements & types can be customized by end user.

We using something like:

--------- s1.xsd ---------
sometypes
-----------------------------

-------- s2.xsd ---------
redefine of s1.xsd
<!-- end user ads here some customization -->
----------------------------

-------- s3.xsd --------
include s2.xsd
<!-- actual elements here -->
--------------------------

So the application uses customized version of elements. But we can't break cycle in following schema:

--------------------

<xsd:complexType name="customerType">
<xsd:sequence>
<xsd:element name="rootCustomer" ref="customer"/>
<!-- ... -->
</xsd:sequence>
</xsd:complexType>

<xsd:element name="customer" type="customerType"/>

--------------------
So the question: how to implement end user customization for this case?
Oct 16 '06 #1
0 1145

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Michael Bane | last post: by
3 posts views Thread by junlia | last post: by
25 posts views Thread by paytam | last post: by
3 posts views Thread by Ernie.Pasveer | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.