views:

95

answers:

0

I need to define some schemes for an API whitch have communication sending and receiving xml strings. I want to document the scheme definition to the clients who will user that API.

for example

<store>
<name>the store</name>
    <products>
        <product>
             <id></id>
             <name></name>
             <price></price>
        </product>
        <product>
             <id></id>
             <name></name>
             <price></price>
        </product>
    </products>
</store>

So, I cant define the max and min occurrences for product in a products list. I guess it can be standar-defined in a XSD.