G.2.3 Repeatable Elements
Prev | G.2 XML Elements |

### G.2.3 Repeatable Elements

All repeatable WADL XML elements are represented as an array of objects whose name is the name of the XML element and where each may contain:

- a "@{attribute}" string for each XML attribute of the name {attribute}

- a child object for each child element that must be unique

- a child array for each child element that may not be unique

Example:

    "param": [
    		{
    			"@name": "Accept",
    			"@style": "header"
    		},
    		{
    			"@name": "Cache-control",
    			"@style": "header"
    		}
    	]

Prev | Up |
G.2.2 Unique Elements | Home |