470,813 Members | 943 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

schema for different complex elements based on attribute value


I have the following xml

<child type="Single">
<!-- if type is "single", then we can have only 1 of the
following element with default for directory as "1"
<!-- More elements here -->
<child type="Multiple">
<!-- if type is "Multiple", then we can have more that one
of the following element. The contents of this element
is same as that of in the "Single" case
<!-- More elements here -->

How do i write a schema for this multiple child "type" condition, if at
all it is possible ?


Jul 20 '05 #1
0 1129

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Gregg Williams | last post: by
2 posts views Thread by Chuck Bowling | last post: by
reply views Thread by SkyScrap | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.