XSD restriction

S

SP

Hi,
I'm trying to write a correct xsd using restriction.
I've the follow XML:
<root>
<a>10</a>
<b>10,54</b>
<c>2005-10-12</c>
<d>
<aa>test</aa>
<bb>test2</bb>
</d>
<d>
<cc>test3</cc>
<bb>test</bb>
</d>
</root>


I want a xsd that use restriction to: maxLeength of a element and
the cardinality ( minOccurs,maxOccurs) of the element, and some pattern
as date.

Now I can write a correct xsd?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,000
Messages
2,570,252
Members
46,848
Latest member
CristineKo

Latest Threads

Top